summaryrefslogtreecommitdiff
path: root/audio/festvox-us2
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
commit175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/festvox-us2
parent8e48fde97a437ad72ee0e0977aecc1023910f244 (diff)
downloadpkgsrc-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/festvox-us2')
-rw-r--r--audio/festvox-us2/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/festvox-us2/Makefile b/audio/festvox-us2/Makefile
index b15fbe253f4..76018822ce8 100644
--- a/audio/festvox-us2/Makefile
+++ b/audio/festvox-us2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/08/23 21:08:20 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2008/03/02 06:10:32 jlam Exp $
DISTNAME= festvox_us2
PKGNAME= festvox-us2-1.4.0
@@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-us2-980812{,nb[0-9]*}:../../audio/mbrolavox-us2
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
@@ -29,9 +31,9 @@ post-extract:
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
do-install:
- cd ${WRKSRC} && ${PAX} -rw * ${FHOME}
+ cd ${WRKSRC} && ${PAX} -rw * ${DESTDIR}${FHOME}
#ugh
- ${LN} -fs ../../../../../mbrola/voices/us2 ${MBROLA}
- ${LN} -fs ../../../../../mbrola/voices/us2/us2mrpa ${MBROLA}
+ ${LN} -fs ../../../../../mbrola/voices/us2 ${DESTDIR}${MBROLA}
+ ${LN} -fs ../../../../../mbrola/voices/us2/us2mrpa ${DESTDIR}${MBROLA}
.include "../../mk/bsd.pkg.mk"