summaryrefslogtreecommitdiff
path: root/audio/festvox-us3
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-02 06:10:30 +0000
committerjlam <jlam>2008-03-02 06:10:30 +0000
commit33be9d571979426caf74e11b4f9a9f2be70808b5 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/festvox-us3
parent49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff)
downloadpkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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-us3')
-rw-r--r--audio/festvox-us3/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/festvox-us3/Makefile b/audio/festvox-us3/Makefile
index 0656666324a..bd2648880bb 100644
--- a/audio/festvox-us3/Makefile
+++ b/audio/festvox-us3/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_us3
PKGNAME= festvox-us3-1.4.0
@@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-us3-990208{,nb[0-9]*}:../../audio/mbrolavox-us3
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/us3 ${MBROLA}
- ${LN} -fs ../../../../../mbrola/voices/us3/us3mrpa ${MBROLA}
+ ${LN} -fs ../../../../../mbrola/voices/us3 ${DESTDIR}${MBROLA}
+ ${LN} -fs ../../../../../mbrola/voices/us3/us3mrpa ${DESTDIR}${MBROLA}
.include "../../mk/bsd.pkg.mk"