diff options
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/freeswitch-devel/Makefile | 68 | ||||
-rw-r--r-- | net/freeswitch-devel/pkg-descr | 9 | ||||
-rw-r--r-- | net/freeswitch/Makefile | 2 |
4 files changed, 80 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 60ab904ad58b..62aebe2be2d3 100644 --- a/net/Makefile +++ b/net/Makefile @@ -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 diff --git a/net/freeswitch-devel/Makefile b/net/freeswitch-devel/Makefile new file mode 100644 index 000000000000..7e512aabddc2 --- /dev/null +++ b/net/freeswitch-devel/Makefile @@ -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> diff --git a/net/freeswitch-devel/pkg-descr b/net/freeswitch-devel/pkg-descr new file mode 100644 index 000000000000..8d5926d41ff6 --- /dev/null +++ b/net/freeswitch-devel/pkg-descr @@ -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 diff --git a/net/freeswitch/Makefile b/net/freeswitch/Makefile index 05bb32547131..ae1949f31a64 100644 --- a/net/freeswitch/Makefile +++ b/net/freeswitch/Makefile @@ -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 |