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 | 175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/distmp3/Makefile | |
parent | 8e48fde97a437ad72ee0e0977aecc1023910f244 (diff) | |
download | pkgsrc-175fab70a3a2f3b0f348e8eb065240a97f4f7d61.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/distmp3/Makefile')
-rw-r--r-- | audio/distmp3/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/audio/distmp3/Makefile b/audio/distmp3/Makefile index 46a25be5b23..789e1eb067f 100644 --- a/audio/distmp3/Makefile +++ b/audio/distmp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/10/25 18:54:08 rillig Exp $ +# $NetBSD: Makefile,v 1.10 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= distmp3-0.1.9 @@ -9,6 +9,8 @@ EXTRACT_SUFX= .tar.bz2 MAINTAINER= grant@NetBSD.org COMMENT= Distributed mp3 encoding across multiple hosts +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= # empty USE_TOOLS+= perl:run NO_BUILD= yes @@ -33,11 +35,13 @@ SUBST_SED.config+= -e 's,/usr/local,${PREFIX},' INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/distmp3 ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKSRC}/distmp3host ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/distmp3.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/distmp3host.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${EGDIR} - ${INSTALL_DATA} ${WRKSRC}/distmp3.conf ${EGDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/distmp3 ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/distmp3host ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/distmp3.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/distmp3host.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/distmp3.conf ${DESTDIR}${EGDIR} .include "../../mk/bsd.pkg.mk" |