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/cmp3 | |
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/cmp3')
-rw-r--r-- | audio/cmp3/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/audio/cmp3/Makefile b/audio/cmp3/Makefile index bb3c2caa7a7..ab6613c9696 100644 --- a/audio/cmp3/Makefile +++ b/audio/cmp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2006/02/05 23:08:06 joerg Exp $ +# $NetBSD: Makefile,v 1.26 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= cmp3-2.0pre6 @@ -14,6 +14,8 @@ COMMENT= Curses based frontend to mpg123 DEPENDS+= mpg123-[0-9]*:../../audio/mpg123 DEPENDS+= vorbis-tools-[0-9]*:../../audio/vorbis-tools +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/cmp3-kenrevs USE_TOOLS+= gmake INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* @@ -22,11 +24,13 @@ INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-H]*-* INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/rnmp3 ${PREFIX}/bin - @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cmp3 - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cmp3 - ${INSTALL_DATA} ${WRKSRC}/cmp3rc ${PREFIX}/share/doc/cmp3/sample.cmp3rc + ${INSTALL_PROGRAM} ${WRKSRC}/cmp3 ${DESTDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/rnmp3 ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/cmp3 + ${INSTALL_DATA} ${WRKSRC}/README \ + ${DESTDIR}${PREFIX}/share/doc/cmp3 + ${INSTALL_DATA} ${WRKSRC}/cmp3rc \ + ${DESTDIR}${PREFIX}/share/doc/cmp3/sample.cmp3rc .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |