aboutsummaryrefslogtreecommitdiff
path: root/games/warsow
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-06-04 22:51:12 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-06-04 22:51:12 +0000
commitd7f3a971c0d9e31867c2fdce4af3fb92b25312c2 (patch)
tree5ae68d6ef7506253000a2858c398d8b9f06064cb /games/warsow
parent6e3f780774090e88dda16eebb8f046e19c2b7e70 (diff)
downloadports-d7f3a971c0d9e31867c2fdce4af3fb92b25312c2.tar.gz
ports-d7f3a971c0d9e31867c2fdce4af3fb92b25312c2.zip
Notes
Diffstat (limited to 'games/warsow')
-rw-r--r--games/warsow/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/games/warsow/Makefile b/games/warsow/Makefile
index b43a4e596569..83c2c9be8a11 100644
--- a/games/warsow/Makefile
+++ b/games/warsow/Makefile
@@ -3,22 +3,21 @@
PORTNAME= warsow
PORTVERSION= 1.5
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/warsow.mirror/Warsow%20${PORTVERSION} \
http://www.warsow.net:1337/~warsow/${PORTVERSION}/
DISTNAME= ${PORTNAME}_${PORTVERSION:S/.//}_sdk
DIST_SUBDIR= ${PORTNAME}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= games@FreeBSD.org
COMMENT= Futuristic, fast-paced first person shooter
LICENSE= GPLv2
LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl
-RUN_DEPENDS= ${DATADIR}/basewsw/data0_15.pk3:${PORTSDIR}/games/warsow-data
ONLY_FOR_ARCHS= i386 amd64
-MAKE_JOBS_UNSAFE=yes
USES= gmake
@@ -29,7 +28,7 @@ AS_SDK_DIR= ${WRKSRC}/../libsrcs/angelscript/sdk
PLIST_FILES= %%DATADIR%%/basewsw/game_${ARCH}.so \
%%DATADIR%%/libs/angelwrap_${ARCH}.so
-PLIST_DIRS= %%DATADIR%%/libs
+PLIST_DIRS= %%DATADIR%%/basewsw %%DATADIR%%/libs %%DATADIR%%
OPTIONS_DEFINE= CLIENT SERVER FTLIB REF_GL QF OPENAL IRC CIN TV_SRV
OPTIONS_DEFAULT= CLIENT SERVER FTLIB REF_GL QF OPENAL IRC CIN TV_SRV
@@ -44,6 +43,9 @@ IRC_DESC= Build IRC client module
CIN_DESC= Build Cinematics playback module
TV_SRV_DESC= Build Warsow TV server
+PORTDOCS= *.rtf *.doc sourcecode_quickstart.txt
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCLIENT}
@@ -56,7 +58,7 @@ PLIST_FILES+= bin/warsow %%DATADIR%%/basewsw/cgame_${ARCH}.so \
DESKTOP_ENTRIES="Warsow" "${COMMENT}" \
"${PREFIX}/share/pixmaps/warsow128x128.xpm" "${PORTNAME}" \
- "Game;" false
+ "Game;Shooter;" ""
. if ${PORT_OPTIONS:MFTLIB} || ${PORT_OPTIONS:MREF_GL}
LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png
@@ -142,4 +144,7 @@ do-install:
${STAGEDIR}${PREFIX}/share/pixmaps
.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/../../docs/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>