diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 33be9d571979426caf74e11b4f9a9f2be70808b5 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/nosefart | |
parent | 49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff) | |
download | pkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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" |