diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /audio/bladeenc | |
parent | df12796d2c7ff30316099a62cbdf43f49006d442 (diff) | |
download | pkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'audio/bladeenc')
-rw-r--r-- | audio/bladeenc/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/audio/bladeenc/Makefile b/audio/bladeenc/Makefile index b8a1754b4d3..15b2e032e74 100644 --- a/audio/bladeenc/Makefile +++ b/audio/bladeenc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2007/01/07 09:13:46 rillig Exp $ +# $NetBSD: Makefile,v 1.26 2008/06/20 01:09:05 joerg Exp $ # DISTNAME= bladeenc-0.94.2-src-stable @@ -11,12 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://bladeenc.mp3.no/ COMMENT= Free MPEG Audio Layer 3 encoder (not decoder) +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} GNU_CONFIGURE= yes +INSTALLATION_DIRS= share/doc/html/bladeenc ${PKGMANDIR}/man1 + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/bladeenc - ${INSTALL_DATA} ${WRKSRC}/bladeenc.html ${PREFIX}/share/doc/html/bladeenc - ${INSTALL_MAN} ${WRKSRC}/bladeenc.1 ${PREFIX}/${PKGMANDIR}/man1/ + ${INSTALL_DATA} ${WRKSRC}/bladeenc.html ${DESTDIR}${PREFIX}/share/doc/html/bladeenc + ${INSTALL_MAN} ${WRKSRC}/bladeenc.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ .include "../../mk/bsd.pkg.mk" |