aboutsummaryrefslogtreecommitdiffstats
path: root/games/linux-warsow
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-08-20 23:11:09 +0800
committeracm <acm@FreeBSD.org>2006-08-20 23:11:09 +0800
commitaadef666a0c53a9afdde7b28cc2ad70c14eb3ef5 (patch)
treeb533a5773b3f8ad0e72a1dcf68dfe31cda64a27f /games/linux-warsow
parentae882a3d53808ba2410395f21c7fb931c06735df (diff)
downloadfreebsd-ports-gnome-aadef666a0c53a9afdde7b28cc2ad70c14eb3ef5.tar.gz
freebsd-ports-gnome-aadef666a0c53a9afdde7b28cc2ad70c14eb3ef5.tar.zst
freebsd-ports-gnome-aadef666a0c53a9afdde7b28cc2ad70c14eb3ef5.zip
- Integrate games/warsow with games/warsow-data
- Fixes some problems with games/linux-warsow and games/warsow-data, now we can install games/warsow and games/linux-warsow at the same place. Submitted by: me Approved by: maintainer timeout (16 days), garga (mentor)
Diffstat (limited to 'games/linux-warsow')
-rw-r--r--games/linux-warsow/Makefile11
-rw-r--r--games/linux-warsow/pkg-plist27
2 files changed, 26 insertions, 12 deletions
diff --git a/games/linux-warsow/Makefile b/games/linux-warsow/Makefile
index 69035ed2398f..97898b514d98 100644
--- a/games/linux-warsow/Makefile
+++ b/games/linux-warsow/Makefile
@@ -7,7 +7,7 @@
PORTNAME= warsow
PORTVERSION= 0.12
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= games linux
MASTER_SITES= http://ftp.club-internet.fr/pub/games/nofrag/warsow/ \
@@ -26,7 +26,7 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Free multiplayer first person shooter with cartoon design
RUN_DEPENDS= ${LINUXBASE}/lib/libssl.so.5:${PORTSDIR}/security/linux-openssl \
- ${DATADIR}/basewsw/data0.pk3:${PORTSDIR}/games/warsow-data
+ ${DATADIR}/data0.pk3:${PORTSDIR}/games/warsow-data
ONLY_FOR_ARCHS= i386 amd64
USE_LINUX= yes
@@ -100,14 +100,13 @@ PLIST_SUB+= SERVER="@comment "
.endif
do-install:
- ${MKDIR} ${DATADIR}/basewsw
- ${INSTALL_DATA} ${WRKSRC}/basewsw/*.so ${DATADIR}/basewsw
- ${MKDIR} ${WARSOW_DIR}
+ ${MKDIR} ${WARSOW_DIR}/basewsw
+ ${INSTALL_DATA} ${WRKSRC}/basewsw/*.so ${WARSOW_DIR}/basewsw
.for FILE in ${WARSOW_TARGET}
${BRANDELF} -t Linux ${WRKSRC}/${FILE}${ENGINESUFFIX}
${INSTALL_PROGRAM} ${WRKSRC}/${FILE}${ENGINESUFFIX} ${WARSOW_DIR}/${FILE}
${INSTALL_SCRIPT} ${WRKDIR}/${FILE}-wrapper ${PREFIX}/bin/${PKGNAMEPREFIX}${FILE}
.endfor
- ${LN} -s ${DATADIR}/* ${WARSOW_DIR}
+ ${LN} -s ${DATADIR}/* ${WARSOW_DIR}/basewsw
.include <bsd.port.post.mk>
diff --git a/games/linux-warsow/pkg-plist b/games/linux-warsow/pkg-plist
index 14f70c175d47..da4003788925 100644
--- a/games/linux-warsow/pkg-plist
+++ b/games/linux-warsow/pkg-plist
@@ -2,10 +2,25 @@
%%SERVER%%bin/linux-wsw_server
%%CLIENT%%lib/linux-warsow/warsow
%%SERVER%%lib/linux-warsow/wsw_server
-lib/linux-warsow/basewsw
-%%CLIENT%%%%DATADIR%%/basewsw/cgame%%ARCHSUFFIX%%.so
-%%DATADIR%%/basewsw/game%%ARCHSUFFIX%%.so
-%%CLIENT%%%%DATADIR%%/basewsw/ui%%ARCHSUFFIX%%.so
+lib/linux-warsow/basewsw/cfgs
+%%CLIENT%%lib/linux-warsow/basewsw/cgame%%ARCHSUFFIX%%.so
+lib/linux-warsow/basewsw/config.cfg
+lib/linux-warsow/basewsw/data0.pk3
+lib/linux-warsow/basewsw/data0fix1.pk3
+lib/linux-warsow/basewsw/data0fix2.pk3
+lib/linux-warsow/basewsw/dedicated_autoexec.cfg
+lib/linux-warsow/basewsw/game%%ARCHSUFFIX%%.so
+lib/linux-warsow/basewsw/huds
+lib/linux-warsow/basewsw/map_wctf1.pk3
+lib/linux-warsow/basewsw/map_wdm1.pk3
+lib/linux-warsow/basewsw/map_wdm2.pk3
+lib/linux-warsow/basewsw/map_wdm5.pk3
+lib/linux-warsow/basewsw/map_wmid1.pk3
+lib/linux-warsow/basewsw/map_wmid2.pk3
+lib/linux-warsow/basewsw/map_wmid3.pk3
+lib/linux-warsow/basewsw/map_wtest1.pk3
+lib/linux-warsow/basewsw/map_wtest3.pk3
+lib/linux-warsow/basewsw/map_wtest4.pk3
+%%CLIENT%%lib/linux-warsow/basewsw/ui%%ARCHSUFFIX%%.so
+@dirrm lib/linux-warsow/basewsw
@dirrm lib/linux-warsow
-@dirrmtry %%DATADIR%%/basewsw
-@dirrmtry %%DATADIR%%