aboutsummaryrefslogtreecommitdiff
path: root/games/quake2-3zb2/Makefile
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 23:21:53 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 23:21:53 +0000
commit48901ec1b7c50ab52f8c509a9f26a6c562e241a8 (patch)
tree446ab42343592f377f6dc9371518d58713e11a36 /games/quake2-3zb2/Makefile
parentf06b5fcae0cc64b5bc3b2784b11b33bd60948c15 (diff)
Notes
Diffstat (limited to 'games/quake2-3zb2/Makefile')
-rw-r--r--games/quake2-3zb2/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/games/quake2-3zb2/Makefile b/games/quake2-3zb2/Makefile
index 77ac5df0c770..8139a408d665 100644
--- a/games/quake2-3zb2/Makefile
+++ b/games/quake2-3zb2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= 3zb2
PORTVERSION= 0.97
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.angelfire.com/mt2/quakebots/:prog \
http://ponpoko.tri6.net/3zb2/routes/:nodes
@@ -59,8 +60,12 @@ post-extract:
do-install:
${MKDIR} ${Q2DIR}/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/game.so ${Q2DIR}/${PORTNAME}
- cd ${WRKSRC}/3zb2 && ${CP} -R *.cfg 3ZBMaps.lst chctf chdtm pak6.pak \
- ${Q2DIR}/${PORTNAME}
+ cd ${WRKSRC}/3zb2 && \
+ ${INSTALL_DATA} *.cfg 3ZBMaps.lst pak6.pak ${Q2DIR}/${PORTNAME}
+.for f in chctf chdtm
+ ${MKDIR} ${Q2DIR}/${PORTNAME}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/3zb2/${f}/* ${Q2DIR}/${PORTNAME}/${f}
+.endfor
.if defined(WITH_NODES)
${INSTALL_DATA} ${WRKSRC}/*.chn ${Q2DIR}/${PORTNAME}/chdtm
${INSTALL_DATA} ${WRKSRC}/*.chf ${Q2DIR}/${PORTNAME}/chctf