summaryrefslogtreecommitdiff
path: root/audio/mbrolavox-us2
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/mbrolavox-us2
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/mbrolavox-us2')
-rw-r--r--audio/mbrolavox-us2/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/mbrolavox-us2/Makefile b/audio/mbrolavox-us2/Makefile
index ab581f65eac..409ff07b07e 100644
--- a/audio/mbrolavox-us2/Makefile
+++ b/audio/mbrolavox-us2/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= us2-980812
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 us2 ${MHOME}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME}
+ cd ${WRKSRC} && ${PAX} -rw us2 ${DESTDIR}${MHOME}
.include "../../mk/bsd.pkg.mk"