diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/flac2mp3 | |
parent | 8e48fde97a437ad72ee0e0977aecc1023910f244 (diff) | |
download | pkgsrc-175fab70a3a2f3b0f348e8eb065240a97f4f7d61.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/flac2mp3')
-rw-r--r-- | audio/flac2mp3/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/flac2mp3/Makefile b/audio/flac2mp3/Makefile index d2fb9dd2d27..e50645a8d77 100644 --- a/audio/flac2mp3/Makefile +++ b/audio/flac2mp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2006/03/04 21:28:55 jlam Exp $ +# $NetBSD: Makefile,v 1.8 2008/03/02 06:10:32 jlam Exp $ DISTNAME= flac2mp3 PKGNAME= flac2mp3-20041223 @@ -15,6 +15,7 @@ DEPENDS+= lame-[0-9]*:../../audio/lame DEPENDS+= p5-MP3-Info-[0-9]*:../../audio/p5-MP3-Info PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir REPLACE_PERL= flac2mp3.pl USE_TOOLS+= perl:run @@ -25,6 +26,6 @@ NO_BUILD= yes INSTALLATION_DIRS= bin do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/flac2mp3.pl ${PREFIX}/bin/flac2mp3 + ${INSTALL_SCRIPT} ${WRKSRC}/flac2mp3.pl ${DESTDIR}${PREFIX}/bin/flac2mp3 .include "../../mk/bsd.pkg.mk" |