diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:33:32 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:33:32 +0000 |
commit | 3b34772d7f8c87aaf463b2f9127224a7d6490225 (patch) | |
tree | 8887c0f8ce1a301b21789abae5051e7556970188 /comms/asterisk-sounds-de-x9media | |
parent | d0ef3eddac871b7dc8a5d0df9e6f5aeda4713c8e (diff) | |
download | pkgsrc-3b34772d7f8c87aaf463b2f9127224a7d6490225.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'comms/asterisk-sounds-de-x9media')
-rw-r--r-- | comms/asterisk-sounds-de-x9media/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/comms/asterisk-sounds-de-x9media/Makefile b/comms/asterisk-sounds-de-x9media/Makefile index 25faa98d4da..44ca3cb4efa 100644 --- a/comms/asterisk-sounds-de-x9media/Makefile +++ b/comms/asterisk-sounds-de-x9media/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2008/03/03 05:22:19 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/03 05:33:32 jlam Exp $ # PKGNAME= asterisk-sounds-de-x9media-20060714 @@ -11,6 +11,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.x9media.com/ COMMENT= German voice prompt files for asterisk +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= tar FETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX} @@ -18,8 +20,8 @@ FETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX} do-build: # EMPTY do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/libdata/asterisk/sounds - ( cd ${WRKSRC}; tar -cf - de digits ) | ( cd ${PREFIX}/libdata/asterisk/sounds; tar -xf - ) - ( cd ${WRKSRC}/x9media; tar -cf - . ) | ( cd ${PREFIX}/libdata/asterisk/sounds/de; tar -xf - ) + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libdata/asterisk/sounds + ( cd ${WRKSRC}; tar -cf - de digits ) | ( cd ${DESTDIR}${PREFIX}/libdata/asterisk/sounds; tar -xf - ) + ( cd ${WRKSRC}/x9media; tar -cf - . ) | ( cd ${DESTDIR}${PREFIX}/libdata/asterisk/sounds/de; tar -xf - ) .include "../../mk/bsd.pkg.mk" |