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/xmms-meta-timidity | |
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/xmms-meta-timidity')
-rw-r--r-- | audio/xmms-meta-timidity/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/xmms-meta-timidity/Makefile b/audio/xmms-meta-timidity/Makefile index 1833c0b74a2..60a06eb897d 100644 --- a/audio/xmms-meta-timidity/Makefile +++ b/audio/xmms-meta-timidity/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2006/12/15 14:34:19 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2008/03/02 06:10:34 jlam Exp $ # DISTNAME= xmms-meta-timidity-0.2 @@ -15,6 +15,8 @@ DEPENDS+= timidity-[0-9]*:../../audio/timidity DEPENDS+= freepats-[0-9]*:../../audio/freepats DEPENDS+= xmms-meta-input-[0-9]*:../../audio/xmms-meta-input +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} USE_LANGUAGES= # empty NO_CHECKSUM= yes @@ -26,6 +28,7 @@ do-build: -e "s,XXXPKG_SYSCONFDIRXXX,${PKG_SYSCONFDIR},g" do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/timidity.sh ${PREFIX}/lib/xmms/Input/Meta + ${INSTALL_SCRIPT} ${WRKSRC}/timidity.sh \ + ${DESTDIR}${PREFIX}/lib/xmms/Input/Meta .include "../../mk/bsd.pkg.mk" |