summaryrefslogtreecommitdiff
path: root/games/crossfire
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>1996-11-03 19:28:00 +0000
committerAndreas Klemm <andreas@FreeBSD.org>1996-11-03 19:28:00 +0000
commit3514b5fc618a86744db364e8c63f85da5f2544dc (patch)
tree24348296985e92566dfa75ec00afc40dbd4b874e /games/crossfire
parentAdded two patches from crossfire mailinglist. (diff)
After a pkg_delete directories remain, so use mkdir -p in the install
target of Makefile. Changed order in install target.
Notes
Notes: svn path=/head/; revision=4279
Diffstat (limited to 'games/crossfire')
-rw-r--r--games/crossfire/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/crossfire/Makefile b/games/crossfire/Makefile
index 65e5d256f80b..ce3fe65b6432 100644
--- a/games/crossfire/Makefile
+++ b/games/crossfire/Makefile
@@ -57,12 +57,14 @@ post-configure:
post-install:
(cd ${CFDIR}/lib; tar -xzf ${DISTDIR}/${CF_MAPS})
(cd ${CFDIR}; tar -xzf ${DISTDIR}/${CF_SOUNDS})
- chown games.games ${PREFIX}/bin/crossfire
+ mkdir -p ${CFDIR}/doc
+ cp -r ${WRKDIR}/crossfire-0.92.8-doc/* ${CFDIR}/doc
+ touch ${PREFIX}/crossfire/lib/bookarch
+ chmod 664 ${PREFIX}/crossfire/lib/bookarch
chown -R games.games ${CFDIR}
chmod 0664 ${PREFIX}/crossfire/lib/highscore
+ chown games.games ${PREFIX}/bin/crossfire
chmod 6555 ${PREFIX}/bin/crossfire
- mkdir ${CFDIR}/doc
- cp -r ${WRKDIR}/crossfire-0.92.8-doc/* ${CFDIR}/doc
@echo ""
@echo ""
@echo "======================================================"