summaryrefslogtreecommitdiff
path: root/audio/mbrola
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
commit175fab70a3a2f3b0f348e8eb065240a97f4f7d61 (patch)
treee69a307404c85a610aac593940553b400d40a654 /audio/mbrola
parent8e48fde97a437ad72ee0e0977aecc1023910f244 (diff)
downloadpkgsrc-175fab70a3a2f3b0f348e8eb065240a97f4f7d61.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/mbrola')
-rw-r--r--audio/mbrola/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/audio/mbrola/Makefile b/audio/mbrola/Makefile
index c983dae15b4..6bbe7c8ffef 100644
--- a/audio/mbrola/Makefile
+++ b/audio/mbrola/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/08/23 19:28:56 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:33 jlam Exp $
DISTNAME= mbr301h
PKGNAME= mbrola-301h
@@ -13,6 +13,8 @@ COMMENT= MBROLA diphone synthesizer executable
LICENSE= no-commercial-use
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
DIST_SUBDIR= mbrola-20010717
BUILD_DIRS= # empty
@@ -24,8 +26,10 @@ EMUL_MODULES.netbsd= base
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mbrola-netbsd-i386 ${PREFIX}/bin/mbrola
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mbrola
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/mbrola
+ ${INSTALL_PROGRAM} ${WRKSRC}/mbrola-netbsd-i386 \
+ ${DESTDIR}${PREFIX}/bin/mbrola
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/mbrola
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt \
+ ${DESTDIR}${PREFIX}/share/doc/mbrola
.include "../../mk/bsd.pkg.mk"