Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109448929
D19950.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D19950.diff
View Options
Index: head/games/Makefile
===================================================================
--- head/games/Makefile
+++ head/games/Makefile
@@ -69,6 +69,7 @@
SUBDIR += auralquiz
SUBDIR += avanor
SUBDIR += avoision
+ SUBDIR += avp
SUBDIR += awale
SUBDIR += awele
SUBDIR += balazar
Index: head/games/avp/Makefile
===================================================================
--- head/games/avp/Makefile
+++ head/games/avp/Makefile
@@ -0,0 +1,26 @@
+# Created by: Piotr Kubaj <pkubaj@anongoth.pl>
+# $FreeBSD$
+
+PORTNAME= avp
+DISTVERSION= 20170505
+CATEGORIES= games
+MASTER_SITES= https://icculus.org/avp/files/
+EXTRACT_SUFX= -a1.tar.gz
+
+MAINTAINER= pkubaj@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>
Index: head/games/avp/distinfo
===================================================================
--- head/games/avp/distinfo
+++ head/games/avp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1526292078
+SHA256 (avp-20170505-a1.tar.gz) = 2acb278c580e056dbcc2a96608b0793b334204f75a4e44cf7b307f99f7852747
+SIZE (avp-20170505-a1.tar.gz) = 1724722
Index: head/games/avp/files/patch-CMakeLists.txt
===================================================================
--- head/games/avp/files/patch-CMakeLists.txt
+++ head/games/avp/files/patch-CMakeLists.txt
@@ -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.")
Index: head/games/avp/pkg-descr
===================================================================
--- head/games/avp/pkg-descr
+++ head/games/avp/pkg-descr
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 6, 5:10 AM (21 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16487588
Default Alt Text
D19950.diff (2 KB)
Attached To
Mode
D19950: [NEW PORT] games/avp: Open source re-implementation of Alien versus Predator
Attached
Detach File
Event Timeline
Log In to Comment