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 | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/disc-cover | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-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/disc-cover')
-rw-r--r-- | audio/disc-cover/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/audio/disc-cover/Makefile b/audio/disc-cover/Makefile index 346bbd47384..83f7dc73fef 100644 --- a/audio/disc-cover/Makefile +++ b/audio/disc-cover/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/01/07 09:13:47 rillig Exp $ +# $NetBSD: Makefile,v 1.23 2008/03/02 06:10:31 jlam Exp $ # DISTNAME= disc-cover-1.5.6 @@ -11,10 +11,12 @@ COMMENT= Generation of CD covers DEPENDS+= p5-Audio-CD>=0.05:../../audio/p5-Audio-CD +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= perl:run pod2man REPLACE_PERL= disc-cover -DCTMPL= ${PREFIX}/share/disc-cover/templates +DCTMPL= ${PREFIX}/share/disc-cover/templates INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 @@ -24,9 +26,10 @@ do-build: >${WRKDIR}/disc-cover do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/disc-cover ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/disc-cover.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${DCTMPL} - ${INSTALL_DATA} ${WRKSRC}/templates/* ${DCTMPL} + ${INSTALL_SCRIPT} ${WRKDIR}/disc-cover ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/disc-cover.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${DCTMPL} + ${INSTALL_DATA} ${WRKSRC}/templates/* ${DESTDIR}${DCTMPL} .include "../../mk/bsd.pkg.mk" |