mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
3a9834a7ca
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>
53 lines
1.3 KiB
Makefile
53 lines
1.3 KiB
Makefile
# Ports collection makefile for: freeswitch
|
|
# Date created: Augets 9, 2009
|
|
# Whom: Richard Neese <r.neese@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= freeswitch
|
|
PORTVERSION= 1.0.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= # none
|
|
DISTFILES= # none
|
|
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
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS= SOUNDS "Sound files for use with FreeSwitch PBX" on \
|
|
MUSIC "Music on hold for use with FreeSwitch PBX" on \
|
|
PIZZA "Install Pizza Shop voice demo" off \
|
|
SCRIPTS "Install Freeswitch various scripts" off \
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.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_PIZZA)
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.pizza:${PORTSDIR}/misc/freeswitch-pizzademo
|
|
.endif
|
|
|
|
.if defined(WITH_SCRIPTS)
|
|
RUN_DEPENDS+= ${LOCALBASE}/etc/freeswitch/scripts/.freeswitch-scripts:${PORTSDIR}/misc/freeswitch-scripts
|
|
.endif
|
|
|
|
do-install: build
|
|
@${DO_NADA}
|
|
|
|
.include <bsd.port.mk>
|