blob: d3a20d46f6c83570d43273788b76377fbce96008 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"
|