diff options
author | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-02 06:10:30 +0000 |
commit | 33be9d571979426caf74e11b4f9a9f2be70808b5 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/mbrolavox-en1 | |
parent | 49d8db83e7f07977deb64d4280dcde0dbef7c34f (diff) | |
download | pkgsrc-33be9d571979426caf74e11b4f9a9f2be70808b5.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-en1')
-rw-r--r-- | audio/mbrolavox-en1/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/mbrolavox-en1/Makefile b/audio/mbrolavox-en1/Makefile index 7e804f11bff..a54d435fb20 100644 --- a/audio/mbrolavox-en1/Makefile +++ b/audio/mbrolavox-en1/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/08/23 21:08:20 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/02 06:10:33 jlam Exp $ DISTNAME= en1-980910 PKGNAME= mbrolavox-en1-980910 @@ -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 en1 ${MHOME} + ${INSTALL_DATA_DIR} ${DESTDIR}${MHOME} + cd ${WRKSRC} && ${PAX} -rw en1 ${DESTDIR}${MHOME} .include "../../mk/bsd.pkg.mk" |