1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/japanese/asterisk-sounds/Makefile
Guido Falsi 93d736292c Remove options to compile these ports against net/asterisk11 in
preparation for port expiration.

asterisk 11.x will EOL on 2017-10-25 and is scheduled for removal.

Please use the net/asterisk13 port.
2017-10-24 15:05:30 +00:00

40 lines
1.1 KiB
Makefile

# Created by: TAKAHASHI Kaoru <kaoru@kaisei.org>
# $FreeBSD$
PORTNAME= asterisk
PORTVERSION= 1.6
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= japanese net
MASTER_SITES= http://ftp.voip-info.jp/asterisk/sounds/${PORTVERSION:S|.|_|}/ \
ftp://ftp.voip-info.jp/asterisk/sounds/${PORTVERSION:S|.|_|}/
PKGNAMESUFFIX= -sounds
DISTNAME= asterisk-sound-jp_${PORTVERSION:S|.||}_pre
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese sound files for Asterisk
RUN_DEPENDS= asterisk:net/asterisk13
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>