summaryrefslogtreecommitdiff
path: root/games/jools
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 23:24:15 +0000
committerjoerg <joerg>2010-01-29 23:24:15 +0000
commitd411dee87248d3dede77c9a7524815beaf1e2dda (patch)
tree1d2863350db2b6df98f1766c44ac9c0e6122b0f5 /games/jools
parent7e563670dcc103be73581245ea68924d01746e61 (diff)
downloadpkgsrc-d411dee87248d3dede77c9a7524815beaf1e2dda.tar.gz
DESTDIR support
Diffstat (limited to 'games/jools')
-rw-r--r--games/jools/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/jools/Makefile b/games/jools/Makefile
index db6b7a7dd62..6fd8994a4c5 100644
--- a/games/jools/Makefile
+++ b/games/jools/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/02/09 22:56:24 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/01/29 23:24:40 joerg Exp $
#
DISTNAME= jools-0.20
@@ -11,15 +11,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.eecs.umich.edu/~pelzlpj/jools/
COMMENT= Bejeweled clone
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= ${PYPKGPREFIX}-game>=1.4:../../devel/py-game
PYDISTUTILSPKG= YES
post-install:
- ${INSTALL_DATA} ${WRKDIR}/README ${PREFIX}/share/jools/music
- ${INSTALL_DATA} ${WRKDIR}/timed/* ${PREFIX}/share/jools/music/timed
- ${INSTALL_DATA} ${WRKDIR}/title/* ${PREFIX}/share/jools/music/title
- ${INSTALL_DATA} ${WRKDIR}/untimed/* ${PREFIX}/share/jools/music/untimed
+ ${INSTALL_DATA} ${WRKDIR}/README ${DESTDIR}${PREFIX}/share/jools/music
+ ${INSTALL_DATA} ${WRKDIR}/timed/* ${DESTDIR}${PREFIX}/share/jools/music/timed
+ ${INSTALL_DATA} ${WRKDIR}/title/* ${DESTDIR}${PREFIX}/share/jools/music/title
+ ${INSTALL_DATA} ${WRKDIR}/untimed/* ${DESTDIR}${PREFIX}/share/jools/music/untimed
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"