mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
5fb373f312
- minor cleanups to net/freeswitch-core-devel [2] PR: ports/171781 [1] Submitted by: Richard Neese <r.neese@gmail.com> (maintainer) [1], ohauer [2] Approved by: maintainer [2]
74 lines
2.0 KiB
Makefile
74 lines
2.0 KiB
Makefile
# 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.3
|
|
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_DEFINE= VANILLA SBC INSIDEOUT CURL SOUNDS MUSIC PIZZADEMO SCRIPTS
|
|
|
|
VANILLA_DESC= Vanilla Dialplan Configs
|
|
SBC_DESC= Session Border Conroller configs
|
|
INSIDEOUT_DESC= Inside Out Basic Dialplan Configs
|
|
CURL_DESC= Curl dialplan configs
|
|
SOUNDS_DESC= Sound files for use with FreeSwitch PBX
|
|
MUSIC_DESC= Music on hold for use with FreeSwitch PBX
|
|
PIZZADEMO_DESC= Install Pizza Shop voice demo
|
|
SCRIPTS_DESC= Install Freeswitch various scripts
|
|
|
|
OPTIONS_DEFAULT= VANILLA SOUNDS MUSIC
|
|
NO_OPTIONS_SORT= yes
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for conf in vanilla sbc insideout curl
|
|
.if ${PORT_OPTIONS:M${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 ${PORT_OPTIONS:MSOUNDS}
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MMUSIC}
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-music:${PORTSDIR}/audio/freeswitch-music
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MPIZZADEMO}
|
|
RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.pizza:${PORTSDIR}/misc/freeswitch-pizzademo-devel
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MSCRIPTS}
|
|
RUN_DEPENDS+= ${LOCALBASE}/etc/freeswitch/scripts/.freeswitch-scripts:${PORTSDIR}/misc/freeswitch-scripts-devel
|
|
.endif
|
|
|
|
do-install: build
|
|
@${DO_NADA}
|
|
|
|
.include <bsd.port.mk>
|