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/oggasm | |
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/oggasm')
-rw-r--r-- | audio/oggasm/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/oggasm/Makefile b/audio/oggasm/Makefile index 901ec4f10ad..d581bab8890 100644 --- a/audio/oggasm/Makefile +++ b/audio/oggasm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.15 2008/03/02 06:10:33 jlam Exp $ # DISTNAME= oggasm_1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= mpg123>=0.59.18:../../audio/mpg123 DEPENDS+= vorbis-tools>=1.0.0.7:../../audio/vorbis-tools DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} USE_TOOLS+= perl:run REPLACE_PERL= oggasm @@ -25,7 +27,7 @@ NO_BUILD= yes INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/oggasm ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/oggasm.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/oggasm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/oggasm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" |