summaryrefslogtreecommitdiff
path: root/games/mirrormagic
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-07 17:39:50 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-07 17:39:50 +0000
commit4e8dc286a581ff26125971e88ee4fd1d0446aaad (patch)
treecea4b4c1a9e855bfd467e578a4eb31d62851d5fd /games/mirrormagic
parent666dbbb67caeebd266ff0c2b054d698312cf017d (diff)
downloadpkgsrc-4e8dc286a581ff26125971e88ee4fd1d0446aaad.tar.gz
Fix DESTDIR.
Diffstat (limited to 'games/mirrormagic')
-rw-r--r--games/mirrormagic/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index 71a8ebe9509..56773193304 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2008/03/04 06:59:05 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2008/04/07 17:40:51 joerg Exp $
#
DISTNAME= mirrormagic-2.0.2
@@ -31,13 +31,12 @@ OWN_DIRS_PERMS+= ${SCORE_PATH}/scores/classic_mindbender \
SPECIAL_PERMS= bin/mirrormagic ${SETGID_GAMES_PERMS}
-INSTALLATION_DIRS= bin
+INSTALLATION_DIRS= bin share/mirrormagic
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mirrormagic ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/mirrormagic
+ ${INSTALL_PROGRAM} ${WRKSRC}/mirrormagic ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && ${PAX} -rw graphics levels music sounds \
- ${PREFIX}/share/mirrormagic/
+ ${DESTDIR}${PREFIX}/share/mirrormagic/
${RM} -f ${WRKDIR}/PLIST
.for levdir in Classic_Games