summaryrefslogtreecommitdiff
path: root/games/4stAttack
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-07 16:21:03 +0000
committerjoerg <joerg>2008-04-07 16:21:03 +0000
commit8492a9465fafd695e1a5c351432f85450d2ac9a9 (patch)
tree8133b77821f2b06babad2ab5c8ef39a5e913838c /games/4stAttack
parentf86c7cbf2d34127a22d2eedbfedad76019a3b363 (diff)
downloadpkgsrc-8492a9465fafd695e1a5c351432f85450d2ac9a9.tar.gz
Fix DESTDIR.
Diffstat (limited to 'games/4stAttack')
-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}