diff options
author | madpilot <madpilot@FreeBSD.org> | 2017-07-05 22:37:37 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2017-07-05 22:37:37 +0800 |
commit | 981994b97ebd3f143a9ab18de0f74bd624ada777 (patch) | |
tree | 7aeff17d4c068c92df34fb175b59d6e9fcf82fbb /japanese | |
parent | eed3b07217b391b5024079e5aec3f18d7c55da67 (diff) | |
download | freebsd-ports-gnome-981994b97ebd3f143a9ab18de0f74bd624ada777.tar.gz freebsd-ports-gnome-981994b97ebd3f143a9ab18de0f74bd624ada777.tar.zst freebsd-ports-gnome-981994b97ebd3f143a9ab18de0f74bd624ada777.zip |
- Add option to choose which asterisk version to depend on
- Set the default to asterisk13
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/asterisk-sounds/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/japanese/asterisk-sounds/Makefile b/japanese/asterisk-sounds/Makefile index c62db8584462..0f1ccbc40970 100644 --- a/japanese/asterisk-sounds/Makefile +++ b/japanese/asterisk-sounds/Makefile @@ -3,6 +3,7 @@ PORTNAME= asterisk PORTVERSION= 1.6 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= japanese net MASTER_SITES= http://ftp.voip-info.jp/asterisk/sounds/${PORTVERSION:S|.|_|}/ \ @@ -13,8 +14,6 @@ DISTNAME= asterisk-sound-jp_${PORTVERSION:S|.||}_pre MAINTAINER= ports@FreeBSD.org COMMENT= Japanese sound files for Asterisk -RUN_DEPENDS= asterisk:net/asterisk11 - NO_BUILD= yes ASTERISKDIR= ${PREFIX}/share/asterisk/sounds DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} @@ -23,6 +22,16 @@ SUB_LIST= PORTSDIR=${PORTSDIR} OPTIONS_DEFINE= DOCS +OPTIONS_SINGLE= ASTVER +OPTIONS_SINGLE_ASTVER= ASTERISK11 ASTERISK13 +OPTIONS_DEFAULT= ASTERISK13 + +ASTERISK11_DESC= Depend on Asterisk 11 +ASTERISK13_DESC= Depend on Asterisk 13 + +ASTERISK11_RUN_DEPENDS= asterisk:net/asterisk11 +ASTERISK13_RUN_DEPENDS= asterisk:net/asterisk13 + do-install: @-${MKDIR} ${STAGEDIR}${ASTERISKDIR}/ja for gsm in ${WRKDIR}/ja/*.gsm; do \ |