summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-04-07 16:21:03 +0000
committerjoerg <joerg@pkgsrc.org>2008-04-07 16:21:03 +0000
commit045b3d697f79c53adbeb888c695be91f5412f9a4 (patch)
tree8133b77821f2b06babad2ab5c8ef39a5e913838c /games
parent8386bf76343e8743f7a1446376fc355d90550a41 (diff)
downloadpkgsrc-045b3d697f79c53adbeb888c695be91f5412f9a4.tar.gz
Fix DESTDIR.
Diffstat (limited to 'games')
-rw-r--r--games/4stAttack/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/4stAttack/Makefile b/games/4stAttack/Makefile
index 51209d67e84..88df640ba0c 100644
--- a/games/4stAttack/Makefile
+++ b/games/4stAttack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/03/04 06:59:03 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2008/04/07 16:21:03 joerg Exp $
#
DISTNAME= 4stAttack-2.1.4
@@ -12,6 +12,8 @@ COMMENT= Game in which you have to try to out-smart your opponent
PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin share/${PKGBASE}
+
PYTHON_PATCH_SCRIPTS= 4stattack.py
FIND_EXCLUDE= \( -name \*.orig -or -name \*.txt -or -name \*.pre -or -name GPL -or -name \*~ -or -name 4stattack \)
@@ -25,7 +27,6 @@ do-build:
${PYTHONBIN} -O ${PREFIX}/${PYLIB}/compileall.py ${WRKSRC}
do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/${PKGBASE}
${INSTALL_SCRIPT} ${WRKSRC}/4stattack ${DESTDIR}${PREFIX}/bin
cd ${WRKSRC} && ${FIND} . -type f -and \! ${FIND_EXCLUDE} \
-print | ${PAX} -rw -pp -pm ${DESTDIR}${PREFIX}/share/${PKGBASE}