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
This commit is contained in:
parent
85b5fc6876
commit
20acea278c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=476806
3 changed files with 11 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= asterisk
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= japanese net
|
||||
MASTER_SITES= http://ftp.voip-info.jp/asterisk/sounds/${PORTVERSION:S|.|_|}/ \
|
||||
|
@ -14,8 +14,6 @@ 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}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -92,9 +92,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 \
|
||||
|
@ -143,6 +144,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
|
||||
|
||||
|
|
Loading…
Reference in a new issue