freebsd-ports/japanese/asterisk-sounds/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

40 lines
1.1 KiB
Makefile

# Created by: TAKAHASHI Kaoru <kaoru@kaisei.org>
# $FreeBSD$
PORTNAME= asterisk
PORTVERSION= 1.8
PORTREVISION= 1
CATEGORIES= japanese net
MASTER_SITES= http://ftp.voip-info.jp/asterisk/sounds/${VENDORVERSION:S|.|_|}/ \
ftp://ftp.voip-info.jp/asterisk/sounds/${VENDORVERSION:S|.|_|}/
PKGNAMESUFFIX= -sounds
DISTNAME= asterisk-sound-jp_${VENDORVERSION:S|.||}_pre
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese sound files for Asterisk
RUN_DEPENDS= asterisk:${PORTSDIR}/net/asterisk
VENDORVERSION= 1.6
NO_BUILD= yes
ASTERISKDIR= ${PREFIX}/share/asterisk/sounds
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
SUB_FILES= pkg-message
SUB_LIST= PORTSDIR=${PORTSDIR}
OPTIONS_DEFINE= DOCS
do-install:
@-${MKDIR} ${STAGEDIR}${ASTERISKDIR}/ja
for gsm in ${WRKDIR}/ja/*.gsm; do \
${INSTALL_DATA} "$$gsm" ${STAGEDIR}${ASTERISKDIR}/ja ; \
done
@${MKDIR} ${STAGEDIR}${ASTERISKDIR}/ja/digits
for digitgsm in ${WRKDIR}/ja/digits/*.gsm; do \
${INSTALL_DATA} "$$digitgsm" ${STAGEDIR}${ASTERISKDIR}/ja/digits ; \
done
@${MKDIR} ${STAGEDIR}${DOCSDIR}/ja
@cd ${WRKDIR}/ja && ${INSTALL_DATA} README.txt ${STAGEDIR}${DOCSDIR}/ja
.include <bsd.port.mk>