diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 06:59:03 +0000 |
commit | 0c6a3253fe7d652e4d744555cc7352fffd4d103a (patch) | |
tree | 85dcef76c01a75047f6f6e519e34539fa17ae348 /games/scummvm-bass | |
parent | 4e56d99acab2b215405ccc900e56d697c30ae727 (diff) | |
download | pkgsrc-0c6a3253fe7d652e4d744555cc7352fffd4d103a.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'games/scummvm-bass')
-rw-r--r-- | games/scummvm-bass/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/games/scummvm-bass/Makefile b/games/scummvm-bass/Makefile index d4349d21d84..9a7c8c5f578 100644 --- a/games/scummvm-bass/Makefile +++ b/games/scummvm-bass/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/03/04 21:29:43 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 06:59:06 jlam Exp $ # DISTNAME= BASS-Floppy @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://scummvm.sourceforge.net/ COMMENT= Beneath a Steel Sky +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/sky-floppy BASSDIR= ${PREFIX}/share/games/bass @@ -23,8 +25,8 @@ do-build: >${WRKDIR}/bass.sh do-install: - ${INSTALL_DATA_DIR} ${BASSDIR} - ${INSTALL_DATA} ${WRKSRC}/sky.dnr ${WRKSRC}/sky.dsk ${BASSDIR} - ${INSTALL_SCRIPT} ${WRKDIR}/bass.sh ${PREFIX}/bin/bass + ${INSTALL_DATA_DIR} ${DESTDIR}${BASSDIR} + ${INSTALL_DATA} ${WRKSRC}/sky.dnr ${WRKSRC}/sky.dsk ${DESTDIR}${BASSDIR} + ${INSTALL_SCRIPT} ${WRKDIR}/bass.sh ${DESTDIR}${PREFIX}/bin/bass .include "../../mk/bsd.pkg.mk" |