2010-07-27 05:27:23 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2010/07/27 09:27:24 dcoppa Exp $
|
2006-12-16 14:45:14 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
CATEGORIES= telephony
|
2007-09-15 17:03:00 -04:00
|
|
|
COMMENT= 'native' (better) sound files for Asterisk open source PBX
|
2006-12-16 14:45:14 -05:00
|
|
|
# Note: Do not confuse "sounds" with "native-sounds: the former goes
|
|
|
|
# beyond what comes with the Asterisk port, while the latter (this port)
|
|
|
|
# duplicates what comes with Asterisk but in different formats for performance.
|
|
|
|
# XXX Might someday do flavors other than ulaw
|
|
|
|
|
|
|
|
DISTNAME= asterisk-native-sounds-20060209-01-ulaw
|
2010-07-27 05:27:23 -04:00
|
|
|
PKGNAME= asterisk-native-sounds-1.2
|
|
|
|
REVISION= 0
|
2006-12-16 14:45:14 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MASTER_SITES= http://mirror.astlinux.org/sounds/
|
|
|
|
WRKDIST= ${WRKDIR}/sounds
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.astlinux.org/index.php?option=com_content&task=view&id=38&Itemid=43
|
|
|
|
|
2006-12-16 20:54:08 -05:00
|
|
|
MAINTAINER= Ian Darwin <ian@openbsd.org>
|
|
|
|
|
2006-12-16 14:45:14 -05:00
|
|
|
# GPL
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
|
|
|
NO_BUILD= Yes
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
# work around bogosity in distfile: tarred with non-x directories
|
|
|
|
post-extract:
|
|
|
|
find ${WRKDIST} -type d -exec chmod a+x {} \;
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/asterisk
|
|
|
|
cd ${WRKDIR} && cp -R ./sounds ${PREFIX}/share/asterisk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|