diff options
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" |