summaryrefslogtreecommitdiff
path: root/audio/festvox-us1
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
commit76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/festvox-us1
parent5c458b597ca0742153b3a339088ba80f14b598ef (diff)
downloadpkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.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-us1')
-rw-r--r--audio/festvox-us1/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/festvox-us1/Makefile b/audio/festvox-us1/Makefile
index a12dcfaa1fb..c923ba700ab 100644
--- a/audio/festvox-us1/Makefile
+++ b/audio/festvox-us1/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_us1
PKGNAME= festvox-us1-1.4.0
@@ -18,6 +18,8 @@ DEPENDS+= mbrolavox-us1-980512{,nb[0-9]*}:../../audio/mbrolavox-us1
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/us1 ${MBROLA}
- ${LN} -fs ../../../../../mbrola/voices/us1/us1mrpa ${MBROLA}
+ ${LN} -fs ../../../../../mbrola/voices/us1 ${DESTDIR}${MBROLA}
+ ${LN} -fs ../../../../../mbrola/voices/us1/us1mrpa ${DESTDIR}${MBROLA}
.include "../../mk/bsd.pkg.mk"