aboutsummaryrefslogtreecommitdiffstats
path: root/net/freeswitch/Makefile
blob: 20202d166d24d61f0c67b9fcfe0df107855cdce8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Created by: 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= ports@FreeBSD.org
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_DEFINE= SOUNDS MUSIC PIZZA SCRIPTS
OPTIONS_DEFAULT=    SOUNDS MUSIC
SOUNDS_DESC=    Sound files for use with FreeSwitch PBX
MUSIC_DESC= Music on hold for use with FreeSwitch PBX
PIZZA_DESC= Pizza Shop voice demo
SCRIPTS_DESC=   Freeswitch various scripts

.include <bsd.port.options.mk>

.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:MPIZZA}
RUN_DEPENDS+=   ${LOCALBASE}/share/freeswitch/sounds/.pizza:${PORTSDIR}/misc/freeswitch-pizzademo
.endif

.if ${PORT_OPTIONS:MSCRIPTS}
RUN_DEPENDS+=   ${LOCALBASE}/etc/freeswitch/scripts/.freeswitch-scripts:${PORTSDIR}/misc/freeswitch-scripts
.endif

do-install: build
    @${DO_NADA}

.include <bsd.port.mk>