summaryrefslogtreecommitdiff
path: root/games/mirrormagic
diff options
context:
space:
mode:
authordholland <dholland>2008-08-17 02:59:45 +0000
committerdholland <dholland>2008-08-17 02:59:45 +0000
commitdb6ce27f4fe010ee42b11b49ba159f9a168abd89 (patch)
tree1aef21be06601f6f1b39266f0be31c9d6d1ef3da /games/mirrormagic
parent99d7b83631ce8462189689d28dcc66f2cd6f0138 (diff)
downloadpkgsrc-db6ce27f4fe010ee42b11b49ba159f9a168abd89.tar.gz
Fix DESTDIR, fully this time.
While here, remove some trailing whitespace.
Diffstat (limited to 'games/mirrormagic')
-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