svn commit: r502127 - in head/games: . avp avp/files
Piotr Kubaj
pkubaj at FreeBSD.org
Mon May 20 17:12:25 UTC 2019
Author: pkubaj
Date: Mon May 20 17:12:23 2019
New Revision: 502127
URL: https://svnweb.freebsd.org/changeset/ports/502127
Log:
games/avp: open source Alien vs Predator engine reimplementation
You need a copy of the game to play this.
PR: 228246
Approved by: mat (mentor)
Differential Revision: https://reviews.freebsd.org/D19950
Added:
head/games/avp/
head/games/avp/Makefile (contents, props changed)
head/games/avp/distinfo (contents, props changed)
head/games/avp/files/
head/games/avp/files/patch-CMakeLists.txt (contents, props changed)
head/games/avp/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Mon May 20 17:06:34 2019 (r502126)
+++ head/games/Makefile Mon May 20 17:12:23 2019 (r502127)
@@ -69,6 +69,7 @@
SUBDIR += auralquiz
SUBDIR += avanor
SUBDIR += avoision
+ SUBDIR += avp
SUBDIR += awale
SUBDIR += awele
SUBDIR += balazar
Added: head/games/avp/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/avp/Makefile Mon May 20 17:12:23 2019 (r502127)
@@ -0,0 +1,26 @@
+# Created by: Piotr Kubaj <pkubaj at anongoth.pl>
+# $FreeBSD$
+
+PORTNAME= avp
+DISTVERSION= 20170505
+CATEGORIES= games
+MASTER_SITES= https://icculus.org/avp/files/
+EXTRACT_SUFX= -a1.tar.gz
+
+MAINTAINER= pkubaj at FreeBSD.org
+COMMENT= Open source re-implementation of Alien versus Predator
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake gl openal sdl
+USE_GL= gl
+USE_SDL= sdl
+
+PLIST_FILES= bin/${PORTNAME}
+
+do-install:
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
+ ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>
Added: head/games/avp/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/avp/distinfo Mon May 20 17:12:23 2019 (r502127)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526292078
+SHA256 (avp-20170505-a1.tar.gz) = 2acb278c580e056dbcc2a96608b0793b334204f75a4e44cf7b307f99f7852747
+SIZE (avp-20170505-a1.tar.gz) = 1724722
Added: head/games/avp/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/avp/files/patch-CMakeLists.txt Mon May 20 17:12:23 2019 (r502127)
@@ -0,0 +1,21 @@
+--- CMakeLists.txt.orig 2018-05-14 10:51:10 UTC
++++ CMakeLists.txt
+@@ -58,18 +58,6 @@ IF(NOT AVP_WEB)
+ MESSAGE(FATAL_ERROR "Invalid SDL_TYPE setting ${SDL_TYPE}; must be one of AUTO SDL SDL2")
+ ENDIF(NOT SDL_TYPE STREQUAL "AUTO" AND NOT SDL_TYPE STREQUAL "SDL" AND NOT SDL_TYPE STREQUAL "SDL2")
+
+- IF(SDL_FOUND)
+- IF(SDL_VERSION_STRING VERSION_LESS "1.2.0")
+- MESSAGE(WARNING "SDL 1.2 was claimed to be found with version ${SDL_VERSION_STRING}, ignoring...")
+- UNSET(SDL_FOUND)
+- ENDIF(SDL_VERSION_STRING VERSION_LESS "1.2.0")
+-
+- IF(SDL_VERSION_STRING VERSION_GREATER "1.2.99")
+- MESSAGE(WARNING "SDL 1.2 was claimed to be found with version ${SDL_VERSION_STRING}, ignoring...")
+- UNSET(SDL_FOUND)
+- ENDIF(SDL_VERSION_STRING VERSION_GREATER "1.2.99")
+- ENDIF(SDL_FOUND)
+-
+ IF(SDL_TYPE STREQUAL "AUTO")
+ IF(SDL_FOUND)
+ MESSAGE(STATUS "SDL 1.2 found; using that.")
Added: head/games/avp/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/avp/pkg-descr Mon May 20 17:12:23 2019 (r502127)
@@ -0,0 +1,6 @@
+An open source re-implementation of Alien versus Predator.
+
+You need a copy of Alien versus Predator to play this.
+One can be acquired e.g. at GoG.
+
+WWW: https://icculus.org/avp
More information about the svn-ports-head
mailing list