summaryrefslogtreecommitdiff
path: root/audio/mp32ogg
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/mp32ogg
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-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/mp32ogg')
-rw-r--r--audio/mp32ogg/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/mp32ogg/Makefile b/audio/mp32ogg/Makefile
index d127deb8ea8..81bd6681a0b 100644
--- a/audio/mp32ogg/Makefile
+++ b/audio/mp32ogg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/10/04 20:44:19 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/02 06:10:33 jlam Exp $
DISTNAME= mp32ogg-0.11
PKGREVISION= 3
@@ -15,6 +15,8 @@ DEPENDS+= vorbis-tools>=1.0.0.7:../../audio/vorbis-tools
DEPENDS+= p5-MP3-Info>=1.00:../../audio/p5-MP3-Info
DEPENDS+= p5-String-ShellQuote>=1.00:../../textproc/p5-String-ShellQuote
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
EXTRACT_ONLY= # empty
NO_BUILD= yes
@@ -28,6 +30,6 @@ do-extract:
${CP} ${_DISTDIR}/${DISTNAME} ${WRKSRC}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/mp32ogg
+ ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${DESTDIR}${PREFIX}/bin/mp32ogg
.include "../../mk/bsd.pkg.mk"