summaryrefslogtreecommitdiff
path: root/audio/oggasm/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit5e208f4c10af866c1787ca2bbb3312ff140e9f8d (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/oggasm/Makefile
parent6f66c48cf7c3d142c768614f7fdc4e84ca8a2822 (diff)
downloadpkgsrc-5e208f4c10af866c1787ca2bbb3312ff140e9f8d.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/Makefile')
-rw-r--r--audio/oggasm/Makefile8
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"