summaryrefslogtreecommitdiff
path: root/games/wolfpack/Makefile
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-22 10:18:53 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-22 10:18:53 +0000
commit778d41b91c1c25c43ea1ea658b7afbd06745e75f (patch)
tree981786721179ac953b664ef1e93e3e886e722fe0 /games/wolfpack/Makefile
parentupdate BLT to BLT2.4z, and switch to tcl/tk8.4. (diff)
- Update to 4.2.12
PR: 58367 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=91886
Diffstat (limited to 'games/wolfpack/Makefile')
-rw-r--r--games/wolfpack/Makefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile
index 4a9b4b5e3a39..e7bc4c6c2ab7 100644
--- a/games/wolfpack/Makefile
+++ b/games/wolfpack/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= wolfpack
-PORTVERSION= 4.2.11
+PORTVERSION= 4.2.12
CATEGORIES= games
-MASTER_SITES= http://www.empire.cx/Downloads/server/
+MASTER_SITES= http://www.empire.cx/Downloads/server/ \
+ http://www.empire.cx/Downloads/server/oldversions/
DISTNAME= empire${PORTVERSION}
MAINTAINER= darius@dons.net.au
@@ -25,9 +26,25 @@ MAN6= emp_client.6 emp_server.6
MAKE_ARGS= PREFIX=${PREFIX}
+pre-install:
+ ${MKDIR} ${PREFIX}/wolfpack
+ ${MKDIR} ${PREFIX}/wolfpack/data
+
post-install:
${CHMOD} 750 ${PREFIX}/wolfpack/data
+ ${TAR} -C ${WRKDIR}/emp4 -cf - info.nr scripts doc | ${TAR} -C ${PREFIX}/wolfpack -xf -
${CHMOD} 755 ${PREFIX}/wolfpack/info.nr
+ ${CHMOD} 644 ${PREFIX}/wolfpack/info.nr/*
+ ${CHOWN} -R root:wheel ${PREFIX}/wolfpack
+ ${INSTALL_DATA} ${WRKDIR}/emp4/README ${PREFIX}/wolfpack
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/fairland.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/files.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/land.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/ore.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/pconfig.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/perfect.1 ${PREFIX}/man/man1/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/emp_client.6 ${PREFIX}/man/man6/
+ ${INSTALL_MAN} ${WRKDIR}/emp4/man/emp_server.6 ${PREFIX}/man/man6/
@${CAT} ${FILESDIR}/post-install-info
.include <bsd.port.mk>