mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
FreeSWITCH meta port.
FreeSWITCH is an open source telephony platform designed to facilitate the creation of voice and chat driven products scaling from a soft-phone up to a soft-switch. It can be used as a simple switching engine, a PBX, a media gateway or a media server to host IVR applications using simple scripts or XML to control the callflow. WWW: http://www.freeswitch.org PR: ports/167880 Submitted by: Richard Neese <r.neese@gmail.com>
This commit is contained in:
parent
64f394e605
commit
3a9834a7ca
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297220
@ -157,6 +157,7 @@
|
||||
SUBDIR += freeswitch-core
|
||||
SUBDIR += freeswitch-core-devel
|
||||
SUBDIR += freeswitch-curl-devel
|
||||
SUBDIR += freeswitch-devel
|
||||
SUBDIR += freeswitch-insideout-devel
|
||||
SUBDIR += freeswitch-sbc-devel
|
||||
SUBDIR += freeswitch-vanilla-devel
|
||||
|
68
net/freeswitch-devel/Makefile
Normal file
68
net/freeswitch-devel/Makefile
Normal file
@ -0,0 +1,68 @@
|
||||
# Ports collection makefile for: freeswitch Version 1.2
|
||||
# Date created: May 14, 2012
|
||||
# Whom: Richard Neese <r.neese@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= freeswitch
|
||||
PORTVERSION= 1.2
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= # none
|
||||
PKGNAMESUFFIX= -devel
|
||||
DISTFILES= # none
|
||||
EXTRACT_ONLY= # none
|
||||
|
||||
MAINTAINER= r.neese@gmail.com
|
||||
COMMENT= FreeSwitch meta-port to pull in all the components
|
||||
|
||||
RUN_DEPENDS= freeswitch:${PORTSDIR}/net/freeswitch-core-devel
|
||||
|
||||
CONFLICTS= freeswitch-core-[0-9]*
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
OPTIONS= VANILLA "Vanilla Dialplan Configs" off \
|
||||
SBC "Session Border Conroller configs" off \
|
||||
INSIDEOUT "Inside Out Basic Dialplan Configs" off \
|
||||
CURL "Curl dialplan configs" off \
|
||||
SOUNDS "Sound files for use with FreeSwitch PBX" off \
|
||||
MUSIC "Music on hold for use with FreeSwitch PBX" off \
|
||||
PIZZADEMO "Install Pizza Shop voice demo" off \
|
||||
SCRIPTS "Install Freeswitch various scripts" off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.for conf in vanilla sbc insideout curl
|
||||
. if defined(WITH_${conf:U})
|
||||
CNF?= ${conf}
|
||||
. if ${CNF} == ${conf}
|
||||
RUN_DEPENDS+= ${LOCALBASE}/etc/freeswitch/conf/.${conf}:${PORTSDIR}/net/freeswitch-${conf}-devel
|
||||
. else
|
||||
IGNORE= will not allow multiple configuration options selected
|
||||
. endif
|
||||
. endif
|
||||
.endfor
|
||||
.undef CNF
|
||||
|
||||
.if defined(WITH_SOUNDS)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MUSIC)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-music:${PORTSDIR}/audio/freeswitch-music
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PIZZADEMO)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.pizza:${PORTSDIR}/misc/freeswitch-pizzademo-devel
|
||||
.endif
|
||||
|
||||
.if defined(WITH_SCRIPTS)
|
||||
RUN_DEPENDS+= ${LOCALBASE}/etc/freeswitch/scripts/.freeswitch-scripts:${PORTSDIR}/misc/freeswitch-scripts-devel
|
||||
.endif
|
||||
|
||||
do-install: build
|
||||
@${DO_NADA}
|
||||
|
||||
.include <bsd.port.mk>
|
9
net/freeswitch-devel/pkg-descr
Normal file
9
net/freeswitch-devel/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
FreeSWITCH meta port.
|
||||
|
||||
FreeSWITCH is an open source telephony platform designed to facilitate the
|
||||
creation of voice and chat driven products scaling from a soft-phone up to a
|
||||
soft-switch. It can be used as a simple switching engine, a PBX, a media
|
||||
gateway or a media server to host IVR applications using simple scripts or XML
|
||||
to control the callflow.
|
||||
|
||||
WWW: http://www.freeswitch.org
|
@ -16,6 +16,8 @@ EXTRACT_ONLY= # none
|
||||
MAINTAINER= r.neese@gmail.com
|
||||
COMMENT= FreeSwitch meta-port to pull in all the components
|
||||
|
||||
CONFLICTS= freeswitch-devel-[0-9]*
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
|
Loading…
Reference in New Issue
Block a user