pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/mirrormagic Fix DESTDIR, fully this time.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ca954227e44
branches:  trunk
changeset: 545889:8ca954227e44
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sun Aug 17 02:59:45 2008 +0000

description:
Fix DESTDIR, fully this time.
While here, remove some trailing whitespace.

diffstat:

 games/mirrormagic/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (33 lines):

diff -r cf8ab07b7715 -r 8ca954227e44 games/mirrormagic/Makefile
--- a/games/mirrormagic/Makefile        Sat Aug 16 19:01:59 2008 +0000
+++ b/games/mirrormagic/Makefile        Sun Aug 17 02:59:45 2008 +0000
@@ -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 @@
 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 @@
 
        ${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



Home | Main Index | Thread Index | Old Index