summaryrefslogtreecommitdiff
path: root/audio/eawpatches
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-01-21 21:19:41 +0000
committerheinz <heinz@pkgsrc.org>2008-01-21 21:19:41 +0000
commit6c84cd35212af3bfbe481b0825b727d62063367b (patch)
tree89eb4d743e9121eec08ff4a7f223761802868383 /audio/eawpatches
parent07c385f11bffbead123059002c8efda80b0119aa (diff)
downloadpkgsrc-6c84cd35212af3bfbe481b0825b727d62063367b.tar.gz
Added support for installation to DESTDIR.
No compiler necessary.
Diffstat (limited to 'audio/eawpatches')
-rw-r--r--audio/eawpatches/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/audio/eawpatches/Makefile b/audio/eawpatches/Makefile
index 4ba10c5b7cc..5674a07cc8d 100644
--- a/audio/eawpatches/Makefile
+++ b/audio/eawpatches/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/02/22 16:42:10 drochner Exp $
+# $NetBSD: Makefile,v 1.21 2008/01/21 21:19:41 heinz Exp $
#
DISTNAME= eawpats12_full
@@ -13,11 +13,14 @@ COMMENT= Eric A. Welsh' patches (audio samples) for TiMidity
RESTRICTED= Some patches are copyrighted, some marked no-commercial-use
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
-LICENSE= generic-nonlicense
+LICENSE= generic-nonlicense
-WRKSRC= ${WRKDIR}
-NO_BUILD= yes
-MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}
+NO_BUILD= yes
+USE_LANGUAGES= # empty
+MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
post-extract:
chmod go-w ${WRKSRC}/eawpats/gravis.cfg
@@ -30,6 +33,6 @@ pre-configure:
${WRKSRC}/eawpats/winconfig
do-install:
- cd ${WRKSRC} && pax -wr eawpats ${PREFIX}/share
+ cd ${WRKSRC} && pax -wr eawpats ${DESTDIR}${PREFIX}/share
.include "../../mk/bsd.pkg.mk"