aboutsummaryrefslogtreecommitdiffstats
path: root/games/crossfire
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1996-11-04 03:28:00 +0800
committerandreas <andreas@FreeBSD.org>1996-11-04 03:28:00 +0800
commit585d29cf5f4b34a7a1ae870651ce1dd82a63acd1 (patch)
tree9bba29b9f35c9840eaa53306d31486e038d1c2b8 /games/crossfire
parent6ca8efe9aecce95957368e304c3c20510151bfd2 (diff)
downloadfreebsd-ports-gnome-585d29cf5f4b34a7a1ae870651ce1dd82a63acd1.tar.gz
freebsd-ports-gnome-585d29cf5f4b34a7a1ae870651ce1dd82a63acd1.tar.zst
freebsd-ports-gnome-585d29cf5f4b34a7a1ae870651ce1dd82a63acd1.zip
After a pkg_delete directories remain, so use mkdir -p in the install
target of Makefile. Changed order in install target.
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 "======================================================"