summaryrefslogtreecommitdiff
path: root/audio/festvox-el11/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit5e208f4c10af866c1787ca2bbb3312ff140e9f8d (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/festvox-el11/Makefile
parent6f66c48cf7c3d142c768614f7fdc4e84ca8a2822 (diff)
downloadpkgsrc-5e208f4c10af866c1787ca2bbb3312ff140e9f8d.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/festvox-el11/Makefile')
-rw-r--r--audio/festvox-el11/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/festvox-el11/Makefile b/audio/festvox-el11/Makefile
index 6e4cf76138c..658487e7b10 100644
--- a/audio/festvox-el11/Makefile
+++ b/audio/festvox-el11/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2007/06/08 18:33:08 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:31 jlam Exp $
DISTNAME= festvox_ellpc11k
PKGNAME= festvox-el11-1.4.0
@@ -14,6 +14,8 @@ DEPENDS+= festival>=1.4.1:../../audio/festival
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
@@ -24,7 +26,7 @@ post-extract:
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
do-install:
- ${INSTALL_DATA_DIR} ${FHOME}
- cd ${WRKSRC} && ${PAX} -rw * ${FHOME}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${FHOME}
+ cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME}
.include "../../mk/bsd.pkg.mk"