From 76ed4a57975c0d7c08dcc86ebda15457c3e83793 Mon Sep 17 00:00:00 2001 From: jlam Date: Sun, 2 Mar 2008 06:10:30 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- audio/festvox-aec/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'audio/festvox-aec') diff --git a/audio/festvox-aec/Makefile b/audio/festvox-aec/Makefile index 389addc001f..2c86b974166 100644 --- a/audio/festvox-aec/Makefile +++ b/audio/festvox-aec/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2006/12/28 11:47:51 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:31 jlam Exp $ DISTNAME= voice_aec_di-2.0 PKGNAME= festvox-aec-2.0 @@ -15,6 +15,8 @@ DEPENDS+= festlex-ogi>=2.0:../../audio/festlex-ogi LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${PKGNAME_NOREV}nb1 WRKSRC= ${WRKDIR}/festival @@ -28,7 +30,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" -- cgit v1.2.3