diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 5e208f4c10af866c1787ca2bbb3312ff140e9f8d (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/festlex-cmu | |
parent | 6f66c48cf7c3d142c768614f7fdc4e84ca8a2822 (diff) | |
download | pkgsrc-5e208f4c10af866c1787ca2bbb3312ff140e9f8d.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/festlex-cmu')
-rw-r--r-- | audio/festlex-cmu/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/festlex-cmu/Makefile b/audio/festlex-cmu/Makefile index af882260f26..38d7ebbcbc3 100644 --- a/audio/festlex-cmu/Makefile +++ b/audio/festlex-cmu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/06/08 18:33:06 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2008/03/02 06:10:31 jlam Exp $ DISTNAME= festlex_CMU PKGNAME= festlex-cmu-1.4.0 @@ -12,6 +12,8 @@ COMMENT= CMU American English pronunciation dictionary for Festival DEPENDS+= festival>=1.4.0:../../audio/festival +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/festival NO_BUILD= yes @@ -22,7 +24,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" |