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/mbrolavox-us3/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'audio/mbrolavox-us3') diff --git a/audio/mbrolavox-us3/Makefile b/audio/mbrolavox-us3/Makefile index 5688923a721..c4b1603447f 100644 --- a/audio/mbrolavox-us3/Makefile +++ b/audio/mbrolavox-us3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.18 2008/03/02 06:10:33 jlam Exp $ DISTNAME= us3-990208 PKGNAME= mbrolavox-${DISTNAME} @@ -16,6 +16,8 @@ DEPENDS+= mbrola-301h{,nb[0-9]*}:../../audio/mbrola LICENSE= no-commercial-use +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -26,7 +28,7 @@ post-extract: ${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755 do-install: - ${INSTALL_DATA_DIR} ${MHOME} - cd ${WRKSRC} && ${PAX} -rw us3 ${MHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME} + cd ${WRKSRC} && ${PAX} -rw us3 ${DESTDIR}${MHOME} .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3