svn commit: r476806 - in head: japanese/asterisk-sounds net/asterisk13 net/asterisk15
Guido Falsi
madpilot at FreeBSD.org
Fri Aug 10 07:45:50 UTC 2018
Author: madpilot
Date: Fri Aug 10 07:45:49 2018
New Revision: 476806
URL: https://svnweb.freebsd.org/changeset/ports/476806
Log:
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
Modified:
head/japanese/asterisk-sounds/Makefile
head/net/asterisk13/Makefile
head/net/asterisk15/Makefile
Modified: head/japanese/asterisk-sounds/Makefile
==============================================================================
--- head/japanese/asterisk-sounds/Makefile Fri Aug 10 06:22:24 2018 (r476805)
+++ head/japanese/asterisk-sounds/Makefile Fri Aug 10 07:45:49 2018 (r476806)
@@ -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|.|_|}/ \
@@ -13,8 +13,6 @@ DISTNAME= asterisk-sound-jp_${PORTVERSION:S|.||}_pre
MAINTAINER= ports at FreeBSD.org
COMMENT= Japanese sound files for Asterisk
-
-RUN_DEPENDS= asterisk:net/asterisk13
NO_BUILD= yes
ASTERISKDIR= ${PREFIX}/share/asterisk/sounds
Modified: head/net/asterisk13/Makefile
==============================================================================
--- head/net/asterisk13/Makefile Fri Aug 10 06:22:24 2018 (r476805)
+++ head/net/asterisk13/Makefile Fri Aug 10 07:45:49 2018 (r476806)
@@ -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 \
@@ -141,6 +142,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
Modified: head/net/asterisk15/Makefile
==============================================================================
--- head/net/asterisk15/Makefile Fri Aug 10 06:22:24 2018 (r476805)
+++ head/net/asterisk15/Makefile Fri Aug 10 07:45:49 2018 (r476806)
@@ -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 \
@@ -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
More information about the svn-ports-head
mailing list