ports/149653: update for freeswitch meta port
Richard Neese
r.neese at gmail.com
Sat Aug 14 20:10:01 UTC 2010
>Number: 149653
>Category: ports
>Synopsis: update for freeswitch meta port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Aug 14 20:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Richard Neese
>Release: 8.1-Release
>Organization:
>Environment:
FreeBSD daemonswitch.homeip.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
updated for the net/freeswitch meta port to add the 2 new -scripts and -pizzademo
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/freeswitch/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 16 Jun 2010 15:03:57 -0000 1.10
+++ Makefile 14 Aug 2010 19:41:25 -0000
@@ -5,32 +5,49 @@
# $FreeBSD: ports/net/freeswitch/Makefile,v 1.10 2010/06/16 15:03:57 jpaetzel Exp $
#
-PORTNAME= freeswitch
-PORTVERSION= 1.0.6
-CATEGORIES= net
-MASTER_SITES= # none
-DISTFILES= # none
-EXTRACT_ONLY= # none
-
-MAINTAINER= ecrist at secure-computing.net
-COMMENT= FreeSwitch meta-port to pull in all the components
-
-NO_BUILD= YES
-SUB_FILES= pkg-message
-
-OPTIONS= CORE "FreeSwitch PBX Software" on \
- SOUNDS "Sound files for use with FreeSwitch PBX" on \
- MUSIC "Music on hold for use with FreeSwitch PBX" on
+PORTNAME= freeswitch
+PORTVERSION= 1.0.6
+CATEGORIES= net
+MASTER_SITES= # none
+DISTFILES= # none
+EXTRACT_ONLY= # none
+
+MAINTAINER= r.neese at gmail.com
+COMMENT= FreeSwitch meta-port to pull in all the components
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+OPTIONS= CORE "FreeSwitch PBX Software" off \
+ SOUNDS "Sound files for use with FreeSwitch PBX" off \
+ MUSIC "Music on hold for use with FreeSwitch PBX" off \
+ PIZZA "Install Pizza Shop voice demo" off \
+ SCRIPTS "Install Freeswitch various scripts" off \
.include <bsd.port.options.mk>
+
+.if ! defined(WITH_CORE)
+BROKEN= you must select core
+.endif
+
.if defined(WITH_CORE)
-RUN_DEPENDS+= freeswitch:${PORTSDIR}/net/freeswitch-core
+RUN_DEPENDS+= ${LOCALBASE}/bin/freeswitch:${PORTSDIR}/net/freeswitch-core
.endif
.if defined(WITH_SOUNDS)
-RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
+
+RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/.freeswitch-sounds:${PORTSDIR}/audio/freeswitch-sounds
.endif
+
.if defined(WITH_MUSIC)
-RUN_DEPENDS+= ${LOCALBASE}/share/freeswitch/sounds/music:${PORTSDIR}/audio/freeswitch-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}/freeswitch/scripts/.scripts:${PORTSDIR}/misc/freeswitch-scripts
.endif
do-install: build
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list