diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:22:19 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:22:19 +0000 |
commit | d0ef3eddac871b7dc8a5d0df9e6f5aeda4713c8e (patch) | |
tree | 4e4c9132ed70019778278a92c08e5ad898d7eb37 /comms | |
parent | af331e4c128b3a1ff8f2fb55f2c9b592ec70edf4 (diff) | |
download | pkgsrc-d0ef3eddac871b7dc8a5d0df9e6f5aeda4713c8e.tar.gz |
+ Add tar to USE_TOOLS.
+ Use PREFIX instead of LOCALBASE when installing files (does pkglint
warn about this?).
Diffstat (limited to 'comms')
-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 9ad5d86d7df..25faa98d4da 100644 --- a/comms/asterisk-sounds-de-x9media/Makefile +++ b/comms/asterisk-sounds-de-x9media/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/12/28 12:01:38 mjl Exp $ +# $NetBSD: Makefile,v 1.6 2008/03/03 05:22:19 jlam Exp $ # PKGNAME= asterisk-sounds-de-x9media-20060714 @@ -11,13 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.x9media.com/ COMMENT= German voice prompt files for asterisk +USE_TOOLS+= tar + FETCH_BEFORE_ARGS+= -o ${DISTNAME}${EXTRACT_SUFX} do-build: # EMPTY do-install: - ${MKDIR} ${LOCALBASE}/libdata/asterisk/sounds - ( cd ${WRKSRC}; tar -cf - de digits ) | ( cd ${LOCALBASE}/libdata/asterisk/sounds; tar -xf - ) - ( cd ${WRKSRC}/x9media; tar -cf - . ) | ( cd ${LOCALBASE}/libdata/asterisk/sounds/de; tar -xf - ) + ${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 - ) .include "../../mk/bsd.pkg.mk" |