diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/festvox-rab8/Makefile | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-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-rab8/Makefile')
-rw-r--r-- | audio/festvox-rab8/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/festvox-rab8/Makefile b/audio/festvox-rab8/Makefile index 837318e8941..6068097e202 100644 --- a/audio/festvox-rab8/Makefile +++ b/audio/festvox-rab8/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2007/06/08 18:33:09 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2008/03/02 06:10:32 jlam Exp $ DISTNAME= festvox_rablpc8k PKGNAME= festvox-rab8-1.4.0 @@ -16,6 +16,8 @@ DEPENDS+= festlex-oald>=1.4.0:../../audio/festlex-oald CONFLICTS= festvox-rab16-[0-9]* +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -26,7 +28,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" |