diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 5e208f4c10af866c1787ca2bbb3312ff140e9f8d (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/nosefart | |
parent | 6f66c48cf7c3d142c768614f7fdc4e84ca8a2822 (diff) | |
download | pkgsrc-5e208f4c10af866c1787ca2bbb3312ff140e9f8d.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/nosefart')
-rw-r--r-- | audio/nosefart/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/nosefart/Makefile b/audio/nosefart/Makefile index eaf2ab4c170..e694890aacf 100644 --- a/audio/nosefart/Makefile +++ b/audio/nosefart/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/04/22 09:22:06 rillig Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $ DISTNAME= nosefart-2.3-mls PKGNAME= ${DISTNAME:S/-mls//} @@ -13,6 +13,8 @@ COMMENT= Player for NES Sound Format (NSF) files NOT_FOR_PLATFORM= Interix-*-* +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake NO_CONFIGURE= YES @@ -25,7 +27,7 @@ SUBST_SED.ossaudio= -e 's|/dev/dsp|${DEVOSSSOUND}|' INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/nosefart ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/nsfobj/nosefart ${DESTDIR}${PREFIX}/bin .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |