summaryrefslogtreecommitdiff
path: root/audio/festlex-oald
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/festlex-oald
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/festlex-oald')
-rw-r--r--audio/festlex-oald/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/festlex-oald/Makefile b/audio/festlex-oald/Makefile
index ae3b94fd2a3..a19851da839 100644
--- a/audio/festlex-oald/Makefile
+++ b/audio/festlex-oald/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_OALD
PKGNAME= festlex-oald-1.4.0
@@ -14,6 +14,8 @@ DEPENDS+= festival>=1.4.0:../../audio/festival
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
@@ -24,7 +26,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"