diff options
author | Guido Falsi <madpilot@FreeBSD.org> | 2018-08-10 07:45:49 +0000 |
---|---|---|
committer | Guido Falsi <madpilot@FreeBSD.org> | 2018-08-10 07:45:49 +0000 |
commit | 20acea278c12c7eae5e753c4773d2ddab0395ed9 (patch) | |
tree | 97f38778851ff78db408d2e5f0a60923dc629787 /net/asterisk13 | |
parent | 85b5fc68765f02336c2d4fa7f56a024bc0ca7001 (diff) | |
download | ports-20acea278c12c7eae5e753c4773d2ddab0395ed9.tar.gz ports-20acea278c12c7eae5e753c4773d2ddab0395ed9.zip |
Reverse the dependency link between asterisk and japanese/asterisk-sounds,
adding it as an optional RUN_DEPENDS to the asterisk ports.
This allows installing these sounds with any version of asterisk.
Suggested by: mat
Notes
Notes:
svn path=/head/; revision=476806
Diffstat (limited to 'net/asterisk13')
-rw-r--r-- | net/asterisk13/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/net/asterisk13/Makefile b/net/asterisk13/Makefile index 828d07b7e807..7e1be681847f 100644 --- a/net/asterisk13/Makefile +++ b/net/asterisk13/Makefile @@ -91,9 +91,10 @@ MENU_DESC= Menuselect Interface Backend NEWT_DESC= Newt User Interface OPTIONS_GROUP+= SOUNDS -OPTIONS_GROUP_SOUNDS= G729 -SOUNDS_DESC= Core and Music-on-Hold (MoH) Sound Files +OPTIONS_GROUP_SOUNDS= G729 JAPANESE +SOUNDS_DESC= Core and/or Music-on-Hold (MoH) Sound Files G729_DESC= Install G.729 format sounds +JAPANESE_DESC= Install Japanese voice prompts ASTERISK_CORE_G729_SOUNDS= asterisk-core-sounds-en-g729-1.5.tar.gz ASTERISK_MOH_G729_SOUNDS= asterisk-moh-opsound-g729-2.03.tar.gz G729_DISTFILES= ${ASTERISK_CORE_G729_SOUNDS}:g729 \ @@ -142,6 +143,8 @@ GCC_USE= GCC=yes GSM_CONFIGURE_WITH= gsm GSM_LIB_DEPENDS= libgsm.so:audio/gsm +JAPANESE_RUN_DEPENDS= ${LOCALBASE}/share/asterisk/sounds/ja/digits/0.gsm:japanese/asterisk-sounds + LDAP_CONFIGURE_WITH= ldap LDAP_USE= OPENLDAP=yes |