summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2008-08-17 02:59:45 +0000
committerdholland <dholland@pkgsrc.org>2008-08-17 02:59:45 +0000
commitae4e7c9786d50977815e780f974cf27116ed1a9d (patch)
tree1aef21be06601f6f1b39266f0be31c9d6d1ef3da /games
parent14687a0954b111541bb9a2727d4a0b4b3e1830a4 (diff)
downloadpkgsrc-ae4e7c9786d50977815e780f974cf27116ed1a9d.tar.gz
Fix DESTDIR, fully this time.
While here, remove some trailing whitespace.
Diffstat (limited to 'games')
-rw-r--r--games/mirrormagic/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index 5e281dfa631..ed20f1cae0c 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2008/05/26 02:13:19 joerg Exp $
+# $NetBSD: Makefile,v 1.30 2008/08/17 02:59:45 dholland Exp $
#
DISTNAME= mirrormagic-2.0.2
@@ -21,7 +21,7 @@ PLIST_SRC= ${WRKDIR}/PLIST PLIST
SCORE_PATH= /var/games/mirrormagic
SETGIDGAME= yes
-OWN_DIRS_PERMS= ${SCORE_PATH} ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
+OWN_DIRS_PERMS= ${SCORE_PATH} ${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
OWN_DIRS_PERMS+= ${SCORE_PATH}/scores \
${GAMES_USER} ${GAMES_GROUP} ${GAMEDIRMODE}
OWN_DIRS_PERMS+= ${SCORE_PATH}/scores/classic_deflektor \
@@ -40,12 +40,12 @@ do-install:
${RM} -f ${WRKDIR}/PLIST
.for levdir in Classic_Games
- cd ${PREFIX} && \
+ cd ${DESTDIR}${PREFIX} && \
${FIND} share/mirrormagic/levels/${levdir} -type f -print \
>>${WRKDIR}/PLIST
.endfor
.for directory in graphics music sounds
- cd ${PREFIX} && \
+ cd ${DESTDIR}${PREFIX} && \
${FIND} share/mirrormagic/${directory} -type f -print \
>>${WRKDIR}/PLIST
.endfor