summaryrefslogtreecommitdiff
path: root/comms/asterisk-sounds-native/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/asterisk-sounds-native/Makefile')
-rw-r--r--comms/asterisk-sounds-native/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/comms/asterisk-sounds-native/Makefile b/comms/asterisk-sounds-native/Makefile
new file mode 100644
index 00000000000..d3a20d46f6c
--- /dev/null
+++ b/comms/asterisk-sounds-native/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2007/06/28 18:52:18 mjl Exp $
+#
+
+PKGNAME= asterisk-sounds-native-20060209
+DISTNAME= asterisk-native-sounds-20060209-01-ulaw
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+= asterisk-native-sounds-20060209-01-alaw.tar.bz2
+CATEGORIES= comms
+MASTER_SITES= http://mirror.astlinux.org/sounds/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.astlinux.org/index.php
+COMMENT= Asterisk sound files in higher quality formats
+
+WRKSRC= ${WRKDIR}/sounds
+USE_LANGUAGES= # none
+
+NO_BUILD= yes
+
+# work around bogosity in distfile: tarred with non-x directories
+post-extract:
+ find ${WRKSRC} -type d -exec chmod a+x {} \;
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/libdata/asterisk
+ cd ${WRKDIR} && \
+ for f in `find sounds -type f -name \\*.?law` ; do \
+ ${INSTALL_DATA} $$f ${PREFIX}/libdata/asterisk/$$f; \
+ done
+
+.include "../../mk/bsd.pkg.mk"