From 585d29cf5f4b34a7a1ae870651ce1dd82a63acd1 Mon Sep 17 00:00:00 2001 From: andreas Date: Sun, 3 Nov 1996 19:28:00 +0000 Subject: After a pkg_delete directories remain, so use mkdir -p in the install target of Makefile. Changed order in install target. --- games/crossfire-client/Makefile | 8 +++++--- games/crossfire-server/Makefile | 8 +++++--- games/crossfire/Makefile | 8 +++++--- 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/games/crossfire-client/Makefile b/games/crossfire-client/Makefile index 65e5d256f80b..ce3fe65b6432 100644 --- a/games/crossfire-client/Makefile +++ b/games/crossfire-client/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 "======================================================" diff --git a/games/crossfire-server/Makefile b/games/crossfire-server/Makefile index 65e5d256f80b..ce3fe65b6432 100644 --- a/games/crossfire-server/Makefile +++ b/games/crossfire-server/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 "======================================================" 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 "======================================================" -- cgit