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 | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/mp3to | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.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/mp3to')
-rw-r--r-- | audio/mp3to/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/mp3to/Makefile b/audio/mp3to/Makefile index cc12ec4559b..a46f144ceb1 100644 --- a/audio/mp3to/Makefile +++ b/audio/mp3to/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/05/19 16:18:53 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:33 jlam Exp $ DISTNAME= mp3to PKGNAME= ${DISTNAME}-1.0.1 @@ -16,6 +16,8 @@ DEPENDS+= mpg123-[0-9]*:../../audio/mpg123 DEPENDS+= gmp3info>=0.8.2:../../audio/gmp3info DEPENDS+= sox>=12.17.1:../../audio/sox +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= YES INSTALLATION_DIRS= bin @@ -25,6 +27,6 @@ do-extract: ${GZCAT} ${DISTDIR}/${DISTFILES} >${WRKSRC}/${DISTFILES:S/.gz//} do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/mp3to ${DESTDIR}${PREFIX}/bin .include "../../mk/bsd.pkg.mk" |