freebsd-ports/net/freeswitch/Makefile
Josh Paetzel bf20ea1655 Update meta port to add subports
PR:	ports/149767
Submitted by:	Eric F Crist <ecrist@secure-computing.net>
2010-08-20 19:35:36 +00:00

50 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= ecrist@secure-computing.net
COMMENT= FreeSwitch meta-port to pull in all the components
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>