diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 33be9d571979426caf74e11b4f9a9f2be70808b5 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/festvox-jph | |
parent | 49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff) | |
download | pkgsrc-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-jph')
-rw-r--r-- | audio/festvox-jph/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/festvox-jph/Makefile b/audio/festvox-jph/Makefile index 13f5e254f9a..4a97c1a8c36 100644 --- a/audio/festvox-jph/Makefile +++ b/audio/festvox-jph/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2008/03/02 06:10:32 jlam Exp $ DISTNAME= voice_jph_di-2.0 PKGNAME= festvox-jph-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr 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" |