summaryrefslogtreecommitdiff
path: root/audio/abcde
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
committerjlam <jlam@pkgsrc.org>2008-03-02 06:10:30 +0000
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/abcde
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-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/abcde')
-rw-r--r--audio/abcde/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 66660fa1c8a..bd4358418a1 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2006/10/14 13:20:46 rillig Exp $
+# $NetBSD: Makefile,v 1.40 2008/03/02 06:10:30 jlam Exp $
DISTNAME= abcde_2.3.3.orig
PKGNAME= ${DISTNAME:S/_/-/:S/.orig//}
@@ -16,6 +16,8 @@ DEPENDS+= id3v2-[0-9]*:../../audio/id3v2
DEPENDS+= cdparanoia>=3.0.9.7:../../audio/cdparanoia
DEPENDS+= wget>=1.7:../../net/wget
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
@@ -33,11 +35,13 @@ SUBST_FILES.abcde= abcde abcde.1
SUBST_SED.abcde= -e "s,/etc/,${PKG_SYSCONFDIR}/,g"
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${EGDIR}
- ${INSTALL_MAN} ${WRKSRC}/abcde.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/abcde ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/cddb-tool ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/abcde.conf ${DESTDIR}${EGDIR}
+ ${INSTALL_MAN} ${WRKSRC}/abcde.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC}/cddb-tool.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"