summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjlam <jlam>2008-03-03 05:22:19 +0000
committerjlam <jlam>2008-03-03 05:22:19 +0000
commitdd20eca0e374727250c7dcb3c23ece6114da5aa3 (patch)
tree4e4c9132ed70019778278a92c08e5ad898d7eb37 /comms
parentf6882baf4004550109bad28b38e49adeb84350ec (diff)
downloadpkgsrc-dd20eca0e374727250c7dcb3c23ece6114da5aa3.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/Makefile10
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"