From d411dee87248d3dede77c9a7524815beaf1e2dda Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 29 Jan 2010 23:24:15 +0000 Subject: DESTDIR support --- games/jools/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'games/jools') 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" -- cgit v1.2.3