Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jun 2008 11:56:40 +1000 (EST)
From:      Adrian Thearle <adrian@albert.thearle.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124597: [NEW PORT] net/callweaver: Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX
Message-ID:  <20080615015640.B7C681145C@albert.thearle.com.au>
Resent-Message-ID: <200806150200.m5F208QN098051@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124597
>Category:       ports
>Synopsis:       [NEW PORT] net/callweaver: Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 15 02:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Thearle
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD albert.thearle.com.au 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Jun  6 18:37:47 EST
>Description:

This is the first proper release of 1.2. It is kind of an extension of pR 115742, as it used to be called net/openpbx.org

I am also offering to be the maintainer if the current one no longer wishes to do it. 

CallWeaver (formerly known as OpenPBX) is a fork of the Asterisk
Open Source PBX and telephony toolkit. It is middleware between
Internet and telephony channels on the bottom, and Internet and
telephony applications at the top.

WWW: http://www.callweaver.org

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- callweaver-1.2.0.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	callweaver
#	callweaver/files
#	callweaver/files/patch-gethostbyname_r
#	callweaver/files/patch-conf_samples
#	callweaver/files/callweaver.in
#	callweaver/files/patch-configure
#	callweaver/files/patch-utils.c
#	callweaver/distinfo
#	callweaver/pkg-descr
#	callweaver/pkg-install
#	callweaver/pkg-plist
#	callweaver/Makefile
#
echo c - callweaver
mkdir -p callweaver > /dev/null 2>&1
echo c - callweaver/files
mkdir -p callweaver/files > /dev/null 2>&1
echo x - callweaver/files/patch-gethostbyname_r
sed 's/^X//' >callweaver/files/patch-gethostbyname_r << 'END-of-callweaver/files/patch-gethostbyname_r'
X--- configure.ac	2008-04-12 17:18:25 UTC (rev 4622)
X+++ configure.ac	2008-04-13 01:28:47 UTC (rev 4623)
X@@ -604,6 +604,29 @@
X AC_FUNC_VPRINTF
X AC_CHECK_FUNCS([atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname gettimeofday clock_getres inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint select setenv socket sqrt strsep strcasecmp strchr strcspn strdup strerror strncasecmp strndup strrchr strspn strstr strtol strtoq unsetenv utime vasprintf]) 
X 
X+# We need to provide gethostbyname_r if the system does not
X+AC_SEARCH_LIBS(gethostbyname_r, [socket nsl])
X+ 
X+AC_MSG_CHECKING(for gethostbyname_r with 6 arguments)
X+AC_LINK_IFELSE(
X+	AC_LANG_PROGRAM([#include <stdlib.h>
X+			 #include <netdb.h>],
X+			 [struct hostent *he = gethostbyname_r((const char *)NULL, (struct hostent *)NULL, (char *)NULL, (int)0, (struct hostent **)NULL, (int *)NULL);]),
X+	AC_MSG_RESULT(yes)
X+	AC_DEFINE([HAVE_GETHOSTBYNAME_R_6], 1, [Define to 1 if your system has gethostbyname_r with 6 arguments.]),
X+	AC_MSG_RESULT(no)
X+ )
X+ 
X+AC_MSG_CHECKING(for gethostbyname_r with 5 arguments)
X+AC_LINK_IFELSE(
X+	AC_LANG_PROGRAM([#include <stdlib.h>
X+			 #include <netdb.h>],
X+			 [struct hostent *he = gethostbyname_r((const char *)NULL, (struct hostent *)NULL, (char *)NULL, (int)0, (int *)NULL);]),
X+	AC_MSG_RESULT(yes)
X+	AC_DEFINE([HAVE_GETHOSTBYNAME_R_5], 1, [Define to 1 if your system has gethostbyname_r with 5 arguments.]),
X+	AC_MSG_RESULT(no)
X+)
X+
X # Check if asctime_r() takes three arguments.
X AC_MSG_CHECKING([if asctime_r() takes three arguments])
X AC_TRY_COMPILE([
X
END-of-callweaver/files/patch-gethostbyname_r
echo x - callweaver/files/patch-conf_samples
sed 's/^X//' >callweaver/files/patch-conf_samples << 'END-of-callweaver/files/patch-conf_samples'
X--- configs/Makefile.am.orig	2008-06-14 16:52:02.000000000 +1000
X+++ configs/Makefile.am	2008-06-14 16:52:27.000000000 +1000
X@@ -181,7 +181,7 @@
X 	fi; \
X 	for samplefile in $(SAMPLES); \
X 	do \
X-		configfile=`basename $${samplefile} .sample`; \
X+		configfile=${samplefile}; \
X 		if test ! -f $(DESTDIR)${cwconfdir}/$${configfile}; \
X 		then \
X 			$(INSTALL) -m 0640 $${samplefile} $(DESTDIR)${cwconfdir}/$${configfile}; \
END-of-callweaver/files/patch-conf_samples
echo x - callweaver/files/callweaver.in
sed 's/^X//' >callweaver/files/callweaver.in << 'END-of-callweaver/files/callweaver.in'
X#!/bin/sh
X
X# PROVIDE: callweaver
X# REQUIRE: DAEMON
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf to enable callweaver:
X#
X# callweaver_enable="YES"
X#
X
X. %%RC_SUBR%%
X
Xname="callweaver"
Xrcvar=`set_rcvar`
X
Xcommand=%%PREFIX%%/sbin/callweaver
X
Xload_rc_config $name
X
Xpidfile=${callweaver_pidfile:-"/var/run/callweaver.pid"}
Xcallweaver_enable=${callweaver_enable:-"NO"}
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-callweaver/files/callweaver.in
echo x - callweaver/files/patch-configure
sed 's/^X//' >callweaver/files/patch-configure << 'END-of-callweaver/files/patch-configure'
X--- configure.orig	Fri Jun  1 10:33:56 2007
X+++ configure	Fri Jun  1 10:34:38 2007
X@@ -39439,7 +39439,7 @@
X 
X fi
X if test $ac_cv_header_speex_speex_h = yes; then
X-  HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/include/speex
X+  HAVE_SPEEX_H=1 SPEEX_CFLAGS=-I/usr/local/include/speex
X 
X fi
X 
END-of-callweaver/files/patch-configure
echo x - callweaver/files/patch-utils.c
sed 's/^X//' >callweaver/files/patch-utils.c << 'END-of-callweaver/files/patch-utils.c'
X--- corelib/utils.c.orig	2008-05-19 23:40:04.000000000 +0000
X+++ corelib/utils.c	2008-05-22 14:50:33.000000000 +0000
X@@ -61,7 +61,7 @@
X static char base64[64];
X static char b2a[256];
X 
X-#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined( __NetBSD__ ) || defined(__APPLE__) || defined(__CYGWIN__)
X+#if !defined(HAVE_GETHOSTBYNAME_R_5) && !defined(HAVE_GETHOSTBYNAME_R_6)
X 
X /* duh? ERANGE value copied from web... */
X #define ERANGE 34
X@@ -168,7 +168,7 @@
X }
X 
X 
X-#endif
X+#endif /* !HAVE_GETHOSTBYNAME_R_5 && !HAVE_GETHOSTBYNAME_R_6 */
X 
X /*! \brief Re-entrant (thread safe) version of gethostbyname that replaces the 
X    standard gethostbyname (which is not thread safe)
X@@ -205,7 +205,7 @@
X 		return NULL;
X 		
X 	}
X-#ifdef SOLARIS
X+#ifdef HAVE_GETHOSTBYNAME_R_5
X 	result = gethostbyname_r(host, &hp->hp, hp->buf, sizeof(hp->buf), &herrno);
X 
X 	if (!result || !hp->hp.h_addr_list || !hp->hp.h_addr_list[0])
END-of-callweaver/files/patch-utils.c
echo x - callweaver/distinfo
sed 's/^X//' >callweaver/distinfo << 'END-of-callweaver/distinfo'
XMD5 (callweaver-1.2.0.1.tgz) = 8bf5c47c2feb49ffa883928c3fca8eef
XSHA256 (callweaver-1.2.0.1.tgz) = 5401001d299c47f255d3fcfd291d6f1cce31b7640e41d75b24fda912991cd41b
XSIZE (callweaver-1.2.0.1.tgz) = 5769383
END-of-callweaver/distinfo
echo x - callweaver/pkg-descr
sed 's/^X//' >callweaver/pkg-descr << 'END-of-callweaver/pkg-descr'
XCallWeaver (formerly known as OpenPBX) is a fork of the Asterisk
XOpen Source PBX and telephony toolkit. It is middleware between
XInternet and telephony channels on the bottom, and Internet and
Xtelephony applications at the top.
X
XWWW: http://www.callweaver.org
END-of-callweaver/pkg-descr
echo x - callweaver/pkg-install
sed 's/^X//' >callweaver/pkg-install << 'END-of-callweaver/pkg-install'
X#!/bin/sh
X
XPATH=/bin:/usr/sbin
XUSER=callweaver
XGROUP=${USER}
XGID=${UID}
X
Xcase $2 in
XPRE-INSTALL)
X
X	if pw group show "${GROUP}" 2>/dev/null; then
X		echo "You already have a group \"${GROUP}\", so I will use it."
X	else
X		if pw groupadd ${GROUP} -g ${GID}; then
X			echo "Added group \"${GROUP}\"."
X		else
X			echo "Adding group \"${GROUP}\" failed..."
X			exit 1
X		fi
X	fi
X
X	if pw user show "${USER}" 2>/dev/null; then
X		echo "You already have a user \"${USER}\", so I will use it."
X	else
X		if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
X			-c "CallWeaver"
X		then
X			echo "Added user \"${USER}\"."
X		else
X			echo "Adding user \"${USER}\" failed..."
X			exit 1
X		fi
X	fi
X
X	mkdir /var/spool/callweaver
X	mkdir /var/run/callweaver
X	mkdir /var/log/callweaver
X	chmod go+rx /var/log
X	chown -R ${USER}:${GROUP} /var/spool/callweaver /var/run/callweaver /var/log/callweaver
X	;;
X
X
XPOST-INSTALL)
X    	for samplefile in ${PKG_PREFIX}/etc/callweaver/*.conf.sample
X	do
X		echo "Copying configfile $samplefile"
X		configfile=`/usr/bin/basename ${samplefile} .sample`
X		if [ ! -f $samplefile ]; then \
X        		${CP} -p  ${PREFIX}/etc/orbit.conf ; \
X		fi
X	done
X
X	echo ""
X	echo ""
X	echo "If you want to use CallWeaver with your PCI CAPI-device, use"
X	echo "Hans Peter Selasky's ISDN4BSD ihfc driver which can be found at"
X	echo "http://selasky.org/hans_petter/isdn4bsd/index.html"
X	echo ""
X	echo "A ported version of chan_capi for callweaver is included in the source."
X	echo ""
X	echo ""
X	;;
X
X
XPOST-DEINSTALL)
X
X	if pw group show "${GROUP}" 2>/dev/null; then
X		echo "You should have a group \"${GROUP}\"."
X		echo "If you changed it by hand, remove the group yourself."
X	else
X		if pw groupdel ${GROUP}; then
X			echo "Removed group \"${GROUP}\"."
X		else
X			echo "Removed group \"${GROUP}\" failed..."
X			exit 1
X		fi
X	fi
X
X	if pw user show "${USER}" 2>/dev/null; then
X		echo "You should have a user \"${USER}\"."
X		echo "If you changed it by hand, remove the user yourself."
X	else
X		if pw userdel -r ${USER}
X		then
X			echo "Removed user \"${USER}\"."
X		else
X			echo "Removed user \"${USER}\" failed..."
X			exit 1
X		fi
X	fi
X
X	echo "Removing:"
X#	rm -rf /var/spool/callweaver
X	echo " - /var/run/callweaver"
X	rm -rf /var/run/callweaver
X	echo " - /var/log/callweaver"
X	rm -rf /var/log/callweaver
X	;;
X
Xesac
END-of-callweaver/pkg-install
echo x - callweaver/pkg-plist
sed 's/^X//' >callweaver/pkg-plist << 'END-of-callweaver/pkg-plist'
Xbin/streamplayer
X@unexec if cmp -s %D/etc/callweaver/adsi.conf %D/etc/callweaver/adsi.conf.sample; then rm -f %D/etc/callweaver/adsi.conf; fi
Xetc/callweaver/adsi.conf.sample
X@unexec if cmp -s %D/etc/callweaver/adtranvofr.conf %D/etc/callweaver/adtranvofr.conf.sample; then rm -f %D/etc/callweaver/adtranvofr.conf; fi
Xetc/callweaver/adtranvofr.conf.sample
X@unexec if cmp -s %D/etc/callweaver/agents.conf %D/etc/callweaver/agents.conf.sample; then rm -f %D/etc/callweaver/agents.conf; fi
Xetc/callweaver/agents.conf.sample
X@unexec if cmp -s %D/etc/callweaver/cdr.conf %D/etc/callweaver/cdr.conf.sample; then rm -f %D/etc/callweaver/cdr.conf; fi
Xetc/callweaver/cdr.conf.sample
X@unexec if cmp -s %D/etc/callweaver/cdr_custom.conf %D/etc/callweaver/cdr_custom.conf.sample; then rm -f %D/etc/callweaver/cdr_custom.conf; fi
Xetc/callweaver/cdr_custom.conf.sample
X@unexec if cmp -s %D/etc/callweaver/cdr_manager.conf %D/etc/callweaver/cdr_manager.conf.sample; then rm -f %D/etc/callweaver/cdr_manager.conf; fi
Xetc/callweaver/cdr_manager.conf.sample
X@unexec if cmp -s %D/etc/callweaver/cdr_tds.conf %D/etc/callweaver/cdr_tds.conf.sample; then rm -f %D/etc/callweaver/cdr_tds.conf; fi
Xetc/callweaver/cdr_tds.conf.sample
X@unexec if cmp -s %D/etc/callweaver/codecs.conf %D/etc/callweaver/codecs.conf.sample; then rm -f %D/etc/callweaver/codecs.conf; fi
Xetc/callweaver/codecs.conf.sample
X@unexec if cmp -s %D/etc/callweaver/dnsmgr.conf %D/etc/callweaver/dnsmgr.conf.sample; then rm -f %D/etc/callweaver/dnsmgr.conf; fi
Xetc/callweaver/dnsmgr.conf.sample
X@comment @unexec if cmp -s %D/etc/callweaver/dundi.conf %D/etc/callweaver/dundi.conf.sample; then rm -f %D/etc/callweaver/dundi.conf; fi
X@comment etc/callweaver/dundi.conf.sample
X@unexec if cmp -s %D/etc/callweaver/enum.conf %D/etc/callweaver/enum.conf.sample; then rm -f %D/etc/callweaver/enum.conf; fi
Xetc/callweaver/enum.conf.sample
X@unexec if cmp -s %D/etc/callweaver/extconfig.conf %D/etc/callweaver/extconfig.conf.sample; then rm -f %D/etc/callweaver/extconfig.conf; fi
Xetc/callweaver/extconfig.conf.sample
X@unexec if cmp -s %D/etc/callweaver/extensions.ael %D/etc/callweaver/extensions.ael.sample; then rm -f %D/etc/callweaver/extensions.ael; fi
Xetc/callweaver/extensions.ael.sample
X@unexec if cmp -s %D/etc/callweaver/extensions.conf %D/etc/callweaver/extensions.conf.sample; then rm -f %D/etc/callweaver/extensions.conf; fi
Xetc/callweaver/extensions.conf.sample
X@unexec if cmp -s %D/etc/callweaver/features.conf %D/etc/callweaver/features.conf.sample; then rm -f %D/etc/callweaver/features.conf; fi
Xetc/callweaver/features.conf.sample
X@unexec if cmp -s %D/etc/callweaver/iax.conf %D/etc/callweaver/iax.conf.sample; then rm -f %D/etc/callweaver/iax.conf; fi
Xetc/callweaver/iax.conf.sample
X@unexec if cmp -s %D/etc/callweaver/indications.conf %D/etc/callweaver/indications.conf.sample; then rm -f %D/etc/callweaver/indications.conf; fi
Xetc/callweaver/indications.conf.sample
X@unexec if cmp -s %D/etc/callweaver/logger.conf %D/etc/callweaver/logger.conf.sample; then rm -f %D/etc/callweaver/logger.conf; fi
Xetc/callweaver/logger.conf.sample
X@unexec if cmp -s %D/etc/callweaver/manager.conf %D/etc/callweaver/manager.conf.sample; then rm -f %D/etc/callweaver/manager.conf; fi
Xetc/callweaver/manager.conf.sample
X@unexec if cmp -s %D/etc/callweaver/meetme.conf %D/etc/callweaver/meetme.conf.sample; then rm -f %D/etc/callweaver/meetme.conf; fi
Xetc/callweaver/meetme.conf.sample
X@unexec if cmp -s %D/etc/callweaver/mgcp.conf %D/etc/callweaver/mgcp.conf.sample; then rm -f %D/etc/callweaver/mgcp.conf; fi
Xetc/callweaver/mgcp.conf.sample
X@unexec if cmp -s %D/etc/callweaver/modem.conf %D/etc/callweaver/modem.conf.sample; then rm -f %D/etc/callweaver/modem.conf; fi
Xetc/callweaver/modem.conf.sample
X@unexec if cmp -s %D/etc/callweaver/modules.conf %D/etc/callweaver/modules.conf.sample; then rm -f %D/etc/callweaver/modules.conf; fi
Xetc/callweaver/modules.conf.sample
X@unexec if cmp -s %D/etc/callweaver/musiconhold.conf %D/etc/callweaver/musiconhold.conf.sample; then rm -f %D/etc/callweaver/musiconhold.conf; fi
Xetc/callweaver/musiconhold.conf.sample
X@unexec if cmp -s %D/etc/callweaver/muted.conf %D/etc/callweaver/muted.conf.sample; then rm -f %D/etc/callweaver/muted.conf; fi
Xetc/callweaver/muted.conf.sample
X@unexec if cmp -s %D/etc/callweaver/callweaver.adsi %D/etc/callweaver/callweaver.adsi.sample; then rm -f %D/etc/callweaver/callweaver.adsi; fi
Xetc/callweaver/callweaver.adsi.sample
X@unexec if cmp -s %D/etc/callweaver/callweaver.conf %D/etc/callweaver/callweaver.conf.sample; then rm -f %D/etc/callweaver/callweaver.conf; fi
Xetc/callweaver/callweaver.conf.sample
X@unexec if cmp -s %D/etc/callweaver/osp.conf %D/etc/callweaver/osp.conf.sample; then rm -f %D/etc/callweaver/osp.conf; fi
Xetc/callweaver/osp.conf.sample
X@unexec if cmp -s %D/etc/callweaver/privacy.conf %D/etc/callweaver/privacy.conf.sample; then rm -f %D/etc/callweaver/privacy.conf; fi
Xetc/callweaver/privacy.conf.sample
X@unexec if cmp -s %D/etc/callweaver/queues.conf %D/etc/callweaver/queues.conf.sample; then rm -f %D/etc/callweaver/queues.conf; fi
Xetc/callweaver/queues.conf.sample
X@comment @unexec if cmp -s %D/etc/callweaver/rpt.conf %D/etc/callweaver/rpt.conf.sample; then rm -f %D/etc/callweaver/rpt.conf; fi
X@comment etc/callweaver/rpt.conf.sample
X@unexec if cmp -s %D/etc/callweaver/rtp.conf %D/etc/callweaver/rtp.conf.sample; then rm -f %D/etc/callweaver/rtp.conf; fi
Xetc/callweaver/rtp.conf.sample
X@unexec if cmp -s %D/etc/callweaver/sip.conf %D/etc/callweaver/sip.conf.sample; then rm -f %D/etc/callweaver/sip.conf; fi
Xetc/callweaver/sip.conf.sample
X@unexec if cmp -s %D/etc/callweaver/sip_notify.conf %D/etc/callweaver/sip_notify.conf.sample; then rm -f %D/etc/callweaver/sip_notify.conf; fi
Xetc/callweaver/sip_notify.conf.sample
X@unexec if cmp -s %D/etc/callweaver/udptl.conf %D/etc/callweaver/udptl.conf.sample; then rm -f %D/etc/callweaver/udptl.conf; fi
Xetc/callweaver/udptl.conf.sample
X@unexec if cmp -s %D/etc/callweaver/voicemail.conf %D/etc/callweaver/voicemail.conf.sample; then rm -f %D/etc/callweaver/voicemail.conf; fi
Xetc/callweaver/voicemail.conf.sample
X@comment @unexec if cmp -s %D/etc/callweaver/woomera.conf %D/etc/callweaver/woomera.conf.sample; then rm -f %D/etc/callweaver/woomera.conf; fi
X@comment etc/callweaver/woomera.conf.sample
X@comment @unexec if cmp -s %D/etc/callweaver/zapata.conf %D/etc/callweaver/zapata.conf.sample; then rm -f %D/etc/callweaver/zapata.conf; fi
X@comment etc/callweaver/zapata.conf.sample
Xinclude/callweaver/callweaver_db.h  
Xinclude/callweaver/callweaver_expr.h  
Xinclude/callweaver/callweaver_hash.h  
Xinclude/callweaver/callweaver_keywords.h  
Xinclude/callweaver/callweaver_mm.h
Xinclude/callweaver/cwobj.h
Xinclude/callweaver/acl.h
Xinclude/callweaver/adsi.h
Xinclude/callweaver/aes.h
Xinclude/callweaver/alaw.h
Xinclude/callweaver/app.h
Xinclude/callweaver/causes.h
Xinclude/callweaver/cdr.h
Xinclude/callweaver/chan_capi.h
Xinclude/callweaver/chan_capi20.h
Xinclude/callweaver/channel.h
Xinclude/callweaver/chanvars.h
Xinclude/callweaver/cli.h
Xinclude/callweaver/compiler.h
Xinclude/callweaver/config.h
Xinclude/callweaver/crypto.h
Xinclude/callweaver/devicestate.h
Xinclude/callweaver/dlfcn-compat.h
Xinclude/callweaver/dns.h
Xinclude/callweaver/dnsmgr.h
Xinclude/callweaver/dsp.h
Xinclude/callweaver/dundi.h
Xinclude/callweaver/enum.h
Xinclude/callweaver/features.h
Xinclude/callweaver/file.h
Xinclude/callweaver/frame.h
Xinclude/callweaver/generator.h
Xinclude/callweaver/generic_jb.h
Xinclude/callweaver/image.h
Xinclude/callweaver/indications.h
Xinclude/callweaver/inline_api.h
Xinclude/callweaver/io.h
Xinclude/callweaver/linkedlists.h
Xinclude/callweaver/localtime.h
Xinclude/callweaver/lock.h
Xinclude/callweaver/logger.h
Xinclude/callweaver/manager.h
Xinclude/callweaver/module.h
Xinclude/callweaver/monitor.h
Xinclude/callweaver/musiconhold.h
Xinclude/callweaver/netsock.h
Xinclude/callweaver/ogi.h
Xinclude/callweaver/options.h
Xinclude/callweaver/pbx.h
Xinclude/callweaver/phone_no_utils.h
Xinclude/callweaver/poll-compat.h
Xinclude/callweaver/privacy.h
Xinclude/callweaver/res_odbc.h
Xinclude/callweaver/resonator.h
Xinclude/callweaver/rtp.h
Xinclude/callweaver/say.h
Xinclude/callweaver/sched.h
Xinclude/callweaver/slinfactory.h
Xinclude/callweaver/srv.h
Xinclude/callweaver/strings.h
Xinclude/callweaver/stun.h
Xinclude/callweaver/term.h
Xinclude/callweaver/time.h
Xinclude/callweaver/transcap.h
Xinclude/callweaver/translate.h
Xinclude/callweaver/udp.h
Xinclude/callweaver/udpfromto.h
Xinclude/callweaver/udptl.h
Xinclude/callweaver/ulaw.h
Xinclude/callweaver/unaligned.h
Xinclude/callweaver/utils.h
Xinclude/callweaver/xlaw.h
Xlib/callweaver/libcallweaver.so
Xlib/callweaver/libcallweaver.la
Xlib/callweaver/libcallweaver.so.0
Xlib/callweaver/libcwjb.la
Xlib/callweaver/libcwjb.so
Xlib/callweaver/libcwjb.so.0
Xlib/callweaver/libcwsqlite3.la
Xlib/callweaver/libcwsqlite3.so
Xlib/callweaver/libcwsqlite3.so.8
Xlib/callweaver/modules/app_adsiprog.la
Xlib/callweaver/modules/app_adsiprog.so
Xlib/callweaver/modules/app_authenticate.la
Xlib/callweaver/modules/app_authenticate.so
Xlib/callweaver/modules/app_backgrounddetect.la
Xlib/callweaver/modules/app_backgrounddetect.so
Xlib/callweaver/modules/app_cdr.la
Xlib/callweaver/modules/app_cdr.so
Xlib/callweaver/modules/app_changrab.la
Xlib/callweaver/modules/app_changrab.so
Xlib/callweaver/modules/app_chanisavail.la
Xlib/callweaver/modules/app_chanisavail.so
Xlib/callweaver/modules/app_chanspy.la
Xlib/callweaver/modules/app_chanspy.so
Xlib/callweaver/modules/app_controlplayback.la
Xlib/callweaver/modules/app_controlplayback.so
Xlib/callweaver/modules/app_db.la
Xlib/callweaver/modules/app_db.so
Xlib/callweaver/modules/app_devstate.la
Xlib/callweaver/modules/app_devstate.so
Xlib/callweaver/modules/app_dial.la
Xlib/callweaver/modules/app_dial.so
Xlib/callweaver/modules/app_dictate.la
Xlib/callweaver/modules/app_dictate.so
Xlib/callweaver/modules/app_directed_pickup.la
Xlib/callweaver/modules/app_directed_pickup.so
Xlib/callweaver/modules/app_directory.la
Xlib/callweaver/modules/app_directory.so
Xlib/callweaver/modules/app_disa.la
Xlib/callweaver/modules/app_disa.so
Xlib/callweaver/modules/app_dumpchan.la
Xlib/callweaver/modules/app_dumpchan.so
Xlib/callweaver/modules/app_echo.la
Xlib/callweaver/modules/app_echo.so
Xlib/callweaver/modules/app_enumlookup.la
Xlib/callweaver/modules/app_enumlookup.so
Xlib/callweaver/modules/app_eval.la
Xlib/callweaver/modules/app_eval.so
Xlib/callweaver/modules/app_exec.la
Xlib/callweaver/modules/app_exec.so
Xlib/callweaver/modules/app_faxdetect.la
Xlib/callweaver/modules/app_faxdetect.so
Xlib/callweaver/modules/app_forkcdr.la
Xlib/callweaver/modules/app_forkcdr.so
Xlib/callweaver/modules/app_getcpeid.la
Xlib/callweaver/modules/app_getcpeid.so
Xlib/callweaver/modules/app_getdevstate.la
Xlib/callweaver/modules/app_getdevstate.so
Xlib/callweaver/modules/app_getextstate.la
Xlib/callweaver/modules/app_getextstate.so
Xlib/callweaver/modules/app_groupcount.la
Xlib/callweaver/modules/app_groupcount.so
Xlib/callweaver/modules/app_hasnewvoicemail.la
Xlib/callweaver/modules/app_hasnewvoicemail.so
Xlib/callweaver/modules/app_lookupblacklist.la
Xlib/callweaver/modules/app_lookupblacklist.so
Xlib/callweaver/modules/app_lookupcidname.la
Xlib/callweaver/modules/app_lookupcidname.so
Xlib/callweaver/modules/app_milliwatt.la
Xlib/callweaver/modules/app_milliwatt.so
Xlib/callweaver/modules/app_muxmon.la
Xlib/callweaver/modules/app_muxmon.so
Xlib/callweaver/modules/app_nconference.la
Xlib/callweaver/modules/app_nconference.so
Xlib/callweaver/modules/app_pipe.la
Xlib/callweaver/modules/app_pipe.so
Xlib/callweaver/modules/app_playback.la
Xlib/callweaver/modules/app_playback.so
Xlib/callweaver/modules/app_privacy.la
Xlib/callweaver/modules/app_privacy.so
Xlib/callweaver/modules/app_proc.la
Xlib/callweaver/modules/app_proc.so
Xlib/callweaver/modules/app_queue.la
Xlib/callweaver/modules/app_queue.so
Xlib/callweaver/modules/app_random.la
Xlib/callweaver/modules/app_random.so
Xlib/callweaver/modules/app_read.la
Xlib/callweaver/modules/app_read.so
Xlib/callweaver/modules/app_record.la
Xlib/callweaver/modules/app_record.so
Xlib/callweaver/modules/app_rxfax.la
Xlib/callweaver/modules/app_rxfax.so
Xlib/callweaver/modules/app_sayunixtime.la
Xlib/callweaver/modules/app_sayunixtime.so
Xlib/callweaver/modules/app_senddtmf.la
Xlib/callweaver/modules/app_senddtmf.so
Xlib/callweaver/modules/app_sendtext.la
Xlib/callweaver/modules/app_sendtext.so
Xlib/callweaver/modules/app_setcdruserfield.la
Xlib/callweaver/modules/app_setcdruserfield.so
Xlib/callweaver/modules/app_setrdnis.la
Xlib/callweaver/modules/app_setrdnis.so
Xlib/callweaver/modules/app_settransfercapability.la
Xlib/callweaver/modules/app_settransfercapability.so
Xlib/callweaver/modules/app_sms.la
Xlib/callweaver/modules/app_sms.so
Xlib/callweaver/modules/app_softhangup.la
Xlib/callweaver/modules/app_softhangup.so
Xlib/callweaver/modules/app_stack.la
Xlib/callweaver/modules/app_stack.so
Xlib/callweaver/modules/app_system.la
Xlib/callweaver/modules/app_system.so
Xlib/callweaver/modules/app_transfer.la
Xlib/callweaver/modules/app_transfer.so
Xlib/callweaver/modules/app_txfax.la
Xlib/callweaver/modules/app_txfax.so
Xlib/callweaver/modules/app_userevent.la
Xlib/callweaver/modules/app_userevent.so
Xlib/callweaver/modules/app_verbose.la
Xlib/callweaver/modules/app_verbose.so
Xlib/callweaver/modules/app_voicemail.la
Xlib/callweaver/modules/app_voicemail.so
Xlib/callweaver/modules/app_waitforring.la
Xlib/callweaver/modules/app_waitforring.so
Xlib/callweaver/modules/app_waitforsilence.la
Xlib/callweaver/modules/app_waitforsilence.so
Xlib/callweaver/modules/app_while.la
Xlib/callweaver/modules/app_while.so
Xlib/callweaver/modules/app_zapateller.la
Xlib/callweaver/modules/app_zapateller.so
Xlib/callweaver/modules/cdr_csv.la
Xlib/callweaver/modules/cdr_csv.so
Xlib/callweaver/modules/cdr_custom.la
Xlib/callweaver/modules/cdr_custom.so
Xlib/callweaver/modules/cdr_sqlite3.la
Xlib/callweaver/modules/cdr_sqlite3.so
Xlib/callweaver/modules/chan_agent.la
Xlib/callweaver/modules/chan_agent.so
Xlib/callweaver/modules/chan_features.la
Xlib/callweaver/modules/chan_features.so
Xlib/callweaver/modules/chan_iax2.la
Xlib/callweaver/modules/chan_iax2.so
Xlib/callweaver/modules/chan_local.la
Xlib/callweaver/modules/chan_local.so
Xlib/callweaver/modules/chan_mgcp.la
Xlib/callweaver/modules/chan_mgcp.so
Xlib/callweaver/modules/chan_sip.la
Xlib/callweaver/modules/chan_sip.so
Xlib/callweaver/modules/codec_a_mu.la
Xlib/callweaver/modules/codec_a_mu.so
Xlib/callweaver/modules/codec_alaw.la
Xlib/callweaver/modules/codec_alaw.so
Xlib/callweaver/modules/codec_dvi_adpcm.la
Xlib/callweaver/modules/codec_dvi_adpcm.so
Xlib/callweaver/modules/codec_g726.la
Xlib/callweaver/modules/codec_g726.so
Xlib/callweaver/modules/codec_gsm.la
Xlib/callweaver/modules/codec_gsm.so
Xlib/callweaver/modules/codec_lpc10.la
Xlib/callweaver/modules/codec_lpc10.so
Xlib/callweaver/modules/codec_oki_adpcm.la
Xlib/callweaver/modules/codec_oki_adpcm.so
Xlib/callweaver/modules/codec_ulaw.la
Xlib/callweaver/modules/codec_ulaw.so
X%%WITH_SPEEX%%lib/callweaver/modules/codec_speex.la
X%%WITH_SPEEX%%lib/callweaver/modules/codec_speex.so
Xlib/callweaver/modules/format_au.la
Xlib/callweaver/modules/format_au.so
Xlib/callweaver/modules/format_g723_1.la
Xlib/callweaver/modules/format_g723_1.so
Xlib/callweaver/modules/format_g726.la
Xlib/callweaver/modules/format_g726.so
Xlib/callweaver/modules/format_g729.la
Xlib/callweaver/modules/format_g729.so
Xlib/callweaver/modules/format_gsm.la
Xlib/callweaver/modules/format_gsm.so
Xlib/callweaver/modules/format_h263.la
Xlib/callweaver/modules/format_h263.so
Xlib/callweaver/modules/format_jpeg.la
Xlib/callweaver/modules/format_jpeg.so
Xlib/callweaver/modules/format_pcm.la
Xlib/callweaver/modules/format_pcm.so
Xlib/callweaver/modules/format_pcm_alaw.la
Xlib/callweaver/modules/format_pcm_alaw.so
Xlib/callweaver/modules/format_sln.la
Xlib/callweaver/modules/format_sln.so
Xlib/callweaver/modules/format_wav.la
Xlib/callweaver/modules/format_wav.so
Xlib/callweaver/modules/format_wav_gsm.la
Xlib/callweaver/modules/format_wav_gsm.so
X%%WITH_OGGVORBIS%%lib/callweaver/modules/format_ogg_vorbis.la
X%%WITH_OGGVORBIS%%lib/callweaver/modules/format_ogg_vorbis.so
Xlib/callweaver/modules/func_callerid.la
Xlib/callweaver/modules/func_callerid.so
Xlib/callweaver/modules/func_cdr.la
Xlib/callweaver/modules/func_cdr.so
Xlib/callweaver/modules/func_db.la
Xlib/callweaver/modules/func_db.so
Xlib/callweaver/modules/func_enum.la
Xlib/callweaver/modules/func_enum.so
Xlib/callweaver/modules/func_env.la
Xlib/callweaver/modules/func_env.so
Xlib/callweaver/modules/func_fileexists.la
Xlib/callweaver/modules/func_fileexists.so
Xlib/callweaver/modules/func_groupcount.la
Xlib/callweaver/modules/func_groupcount.so
Xlib/callweaver/modules/func_language.la
Xlib/callweaver/modules/func_language.so
Xlib/callweaver/modules/func_logic.la
Xlib/callweaver/modules/func_logic.so
Xlib/callweaver/modules/func_math.la
Xlib/callweaver/modules/func_math.so
Xlib/callweaver/modules/func_md5.la
Xlib/callweaver/modules/func_md5.so
Xlib/callweaver/modules/func_moh.la
Xlib/callweaver/modules/func_moh.so
Xlib/callweaver/modules/func_strings.la
Xlib/callweaver/modules/func_strings.so
Xlib/callweaver/modules/func_timeout.la
Xlib/callweaver/modules/func_timeout.so
Xlib/callweaver/modules/func_uri.la
Xlib/callweaver/modules/func_uri.so
Xlib/callweaver/modules/pbx_config.la
Xlib/callweaver/modules/pbx_config.so
Xlib/callweaver/modules/pbx_loopback.la
Xlib/callweaver/modules/pbx_loopback.so
Xlib/callweaver/modules/pbx_realtime.la
Xlib/callweaver/modules/pbx_realtime.so
Xlib/callweaver/modules/pbx_spool.la
Xlib/callweaver/modules/pbx_spool.so
Xlib/callweaver/modules/res_adsi.la
Xlib/callweaver/modules/res_adsi.so
Xlib/callweaver/modules/res_crypto.la
Xlib/callweaver/modules/res_crypto.so
Xlib/callweaver/modules/res_features.la
Xlib/callweaver/modules/res_features.so
Xlib/callweaver/modules/res_indications.la
Xlib/callweaver/modules/res_indications.so
Xlib/callweaver/modules/res_monitor.la
Xlib/callweaver/modules/res_monitor.so
Xlib/callweaver/modules/res_musiconhold.la
Xlib/callweaver/modules/res_musiconhold.so
Xlib/callweaver/modules/res_ogi.la
Xlib/callweaver/modules/res_ogi.so
Xlib/callweaver/modules/app_dtmftotext.so
Xlib/callweaver/modules/app_dtmftotext.la
Xlib/callweaver/modules/app_t38gateway.so
Xlib/callweaver/modules/app_t38gateway.la
Xlib/callweaver/modules/app_waitfordigits.so
Xlib/callweaver/modules/app_waitfordigits.la
Xlib/callweaver/modules/chan_sccp.so
Xlib/callweaver/modules/chan_sccp.la
Xlib/callweaver/modules/app_setcallerpres.so
Xlib/callweaver/modules/app_setcallerpres.la
Xlib/callweaver/modules/cdr_manager.so
Xlib/callweaver/modules/cdr_manager.la
Xlib/callweaver/modules/func_config.so
Xlib/callweaver/modules/func_config.la
Xlib/callweaver/modules/codec_g722.so
Xlib/callweaver/modules/codec_g722.la
Xlib/callweaver/modules/codec_g722_16k_8k.so
Xlib/callweaver/modules/codec_g722_16k_8k.la
X%%WITH_ODBC%%lib/callweaver/modules/res_odbc.la
X%%WITH_ODBC%%lib/callweaver/modules/res_odbc.so
X%%WITH_ODBC%%lib/callweaver/modules/res_config_odbc.la
X%%WITH_ODBC%%lib/callweaver/modules/res_config_odbc.so
X%%WITH_ODBC%%lib/callweaver/modules/cdr_odbc.la
X%%WITH_ODBC%%lib/callweaver/modules/cdr_odbc.so
X%%WITH_ODBC%%@unexec if cmp -s %D/etc/callweaver/res_odbc.conf %D/etc/callweaver/res_odbc.conf.sample; then rm -f %D/etc/callweaver/res_odbc.conf; fi
X%%WITH_ODBC%%etc/callweaver/res_odbc.conf.sample
X%%WITH_MYSQL%%lib/callweaver/modules/cdr_mysql.la
X%%WITH_MYSQL%%lib/callweaver/modules/cdr_mysql.so
X%%WITH_MYSQL%%lib/callweaver/modules/app_sql_mysql.la
X%%WITH_MYSQL%%lib/callweaver/modules/app_sql_mysql.so
X%%WITH_MYSQL%%lib/callweaver/modules/res_config_mysql.la
X%%WITH_MYSQL%%lib/callweaver/modules/res_config_mysql.so
X%%WITH_MYSQL%%@unexec if cmp -s %D/etc/callweaver/res_mysql.conf %D/etc/callweaver/res_mysql.conf.sample; then rm -f %D/etc/callweaver/res_mysql.conf; fi
X%%WITH_MYSQL%%etc/callweaver/res_mysql.conf.sample
X%%WITH_MYSQL%%@unexec if cmp -s %D/etc/callweaver/cdr_mysql.conf %D/etc/callweaver/cdr_mysql.conf.sample; then rm -f %D/etc/callweaver/cdr_mysql.conf; fi
X%%WITH_MYSQL%%etc/callweaver/cdr_mysql.conf.sample
X%%WITH_POSTGRES%%lib/callweaver/modules/res_config_pgsql.la
X%%WITH_POSTGRES%%lib/callweaver/modules/res_config_pgsql.so
X%%WITH_POSTGRES%%lib/callweaver/modules/app_sql_postgres.la
X%%WITH_POSTGRES%%lib/callweaver/modules/app_sql_postgres.so
X%%WITH_POSTGRES%%lib/callweaver/modules/cdr_pgsql.la
X%%WITH_POSTGRES%%lib/callweaver/modules/cdr_pgsql.so
X%%WITH_POSTGRES%%@unexec if cmp -s %D/etc/callweaver/cdr_pgsql.conf %D/etc/callweaver/cdr_pgsql.conf.sample; then rm -f %D/etc/callweaver/cdr_pgsql.conf; fi
X%%WITH_POSTGRES%%etc/callweaver/cdr_pgsql.conf.sample
X%%WITH_POSTGRES%%@unexec if cmp -s %D/etc/callweaver/res_pgsql.conf %D/etc/callweaver/res_pgsql.conf.sample; then rm -f %D/etc/callweaver/res_pgsql.conf; fi
X%%WITH_POSTGRES%%etc/callweaver/res_pgsql.conf.sample
Xsbin/callweaver
Xshare/callweaver/ogi/eogi-sphinx-test
Xshare/callweaver/ogi/eogi-test
Xshare/callweaver/ogi/fastogi-test
Xshare/callweaver/ogi/ogi-test.ogi
X@dirrm share/callweaver/ogi
X@dirrm share/callweaver/moh
X@dirrm share/callweaver/keys
X@dirrm share/callweaver/images
X@dirrm share/callweaver
X@dirrm lib/callweaver/modules/icd
X@dirrm lib/callweaver/modules
X@dirrm lib/callweaver
X@dirrm include/callweaver
X@cwd /var
X@dirrm spool/callweaver/voicemail
X@dirrm spool/callweaver/outgoing
X@dirrm spool/callweaver
X@dirrm log/callweaver/cdr-custom
X@dirrm log/callweaver/cdr-csv
X@dirrm log/callweaver
END-of-callweaver/pkg-plist
echo x - callweaver/Makefile
sed 's/^X//' >callweaver/Makefile << 'END-of-callweaver/Makefile'
X# New ports collection makefile for:	callweaver
X# Date created:		31 July 2007
X# Whom:			fbettag
X#
X# $FreeBSD$
X#
X
XPORTNAME=	callweaver
XPORTVERSION=	1.2.0.1
XCATEGORIES=	net
XMASTER_SITES=	http://devs.callweaver.org/release/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	ports@thearle.com.au
XCOMMENT=	Fork of the popular Open Source Asterisk PBX formerly known as OpenPBX
X
XLIB_DEPENDS=	spandsp.1:${PORTSDIR}/comms/spandsp-devel
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
XINSTALL_TARGET=	install install-man-pages
X
XCONFIGURE_ARGS=	--with-directory-layout=lsb \
X		--localstatedir=/var
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
XUSE_RC_SUBR=	callweaver
XMAN8=		callweaver.8 safe_callweaver.8
X
XOPTIONS=	ODBC				"Enable ODBC Support"			off \
X		POSTGRESQL			"native PostgreSQL Support"		on  \
X		MYSQL				"native MySQL Support"			off \
X		LOW_MEMORY			"Low Memory Support"			off \
X		SRTP				"Enable encrypted (secure) RTP"		on  \
X		SSL				"Enable OpenSSL Support"		on  \
X		IAX_TRUNKING			"Enable IAX Trunking"			on  \
X		T38				"Enable Fax Support"			on  \
X		JABBER				"Enable Jabber Support"			off \
X		JAVASCRIPT			"Enable the use of JavaScript"		off \
X		VISDN				"Enable vISDN Support"			on  \
X		APP_ADSIPROG			"app_adsiprog"				on  \
X		APP_AUTHENTICATE		"app_authenticate"			on  \
X		APP_BACKGROUNDDETECT		"app_backgrounddetect"			on  \
X		APP_BACKTICKS			"app_backticks"				off \
X		APP_CDR				"app_cdr (implies CDR for Pg/My/odbc)"	on  \
X		APP_CHANGRAB			"app_changrab"				on  \
X		APP_CHANISAVAIL			"app_chanisavail"			on  \
X		APP_CHANSPY			"app_chanspy"				on  \
X		APP_CONTROLPLAYBACK		"app_controlplayback"			on  \
X		APP_DB				"app_db"				on  \
X		APP_DEVSTATE			"app_devstate"				on  \
X		APP_DIAL			"app_dial"				on  \
X		APP_DICTATE			"app_dictate"				on  \
X		APP_DIRECTED_PICKUP		"app_directed_pickup"			on  \
X		APP_DIRECTORY			"app_directory"				on  \
X		APP_DISA			"app_disa"				on  \
X		APP_DTMFTOTEXT			"app_dtmftotext"			on  \
X		APP_DUMPCHAN			"app_dumpchan"				on  \
X		APP_ECHO			"app_echo"				on  \
X		APP_ENUMLOOKUP			"app_enumlookup"			on  \
X		APP_EVAL			"app_eval"				on  \
X		APP_EXEC			"app_exec"				on  \
X		APP_FAXDETECT			"app_faxdetect"				on  \
X		APP_FLASH			"app_flash"				on  \
X		APP_FORKCDR			"app_forkcdr"				on  \
X		APP_GETCPEID			"app_getcpeid"				on  \
X		APP_GETDEVSTATE			"app_getdevstate"			on  \
X		APP_GETEXTSTATE			"app_getextstate"			on  \
X		APP_GROUPCOUNT			"app_groupcount"			on  \
X		APP_HASNEWVOICEMAIL		"app_hasnewvoicemail"			on  \
X		APP_LDAP			"app_ldap"				off \
X		APP_LOOKUPBLACKLIST		"app_lookupblacklist"			on  \
X		APP_LOOKUPCIDNAME		"app_lookupcidname"			on  \
X		APP_MEETME			"app_meetme"				on  \
X		APP_MILLIWATT			"app_milliwatt"				on  \
X		APP_MUXMON			"app_muxmon"				on  \
X		APP_PAGE			"app_page"				off \
X		APP_PIPE			"app_pipe"				on  \
X		APP_PLAYBACK			"app_playback"				on  \
X		APP_PRIVACY			"app_privacy"				on  \
X		APP_PROC			"app_proc"				on  \
X		APP_QUEUE			"app_queue"				on  \
X		APP_RANDOM			"app_random"				on  \
X		APP_READ			"app_read"				on  \
X		APP_RECORD			"app_record"				on  \
X		APP_RXFAX			"app_rxfax"				on  \
X		APP_SAYUNIXTIME			"app_sayunixtime"			on  \
X		APP_SETCALLERPRES		"app_setcallerpres"			on  \
X		APP_SENDDTMF			"app_senddtmf"				on  \
X		APP_SENDTEXT			"app_sendtext"				on  \
X		APP_SETCDRUSERFIELD		"app_setcdruserfield"			on  \
X		APP_SETRDNIS			"app_setrdnis"				on  \
X		APP_SETTRANSFERCAPABILITY	"app_settransfercapability"		on  \
X		APP_SMS				"app_sms"				on  \
X		APP_SOFTHANGUP			"app_softhangup"			on  \
X		APP_STACK			"app_stack"				on  \
X		APP_SYSTEM			"app_system"				on  \
X		APP_TRANSFER			"app_transfer"				on  \
X		APP_TXFAX			"app_txfax"				on  \
X		APP_USEREVENT			"app_userevent"				on  \
X		APP_VALETPARKING		"app_valetparking"			off \
X		APP_VERBOSE			"app_verbose"				on  \
X		APP_VOICEMAIL			"app_voicemail"				on  \
X		APP_VISDN_PPP			"app_visdn_ppp"				on  \
X		APP_WAITFORRING			"app_waitforring"			on  \
X		APP_WAITFORSILENCE		"app_waitforsilence"			on  \
X		APP_WHILE			"app_while"				on  \
X		CHAN_AGENT			"chan_agent"				on  \
X		CHAN_FEATURES			"chan_features"				on  \
X		CHAN_IAX2			"chan_iax2"				on  \
X		CHAN_LOCAL			"chan_local"				on  \
X		CHAN_MGCP			"chan_mgcp"				on  \
X		CHAN_SIP			"chan_sip"				on  \
X		CHAN_SCCP			"chan_sccp"				on  \
X		CHAN_UNICALL			"chan_unicall"				off \
X		CHAN_WOOMERA			"chan_woomera"				off \
X		CHAN_VISDN			"chan_visdn"				on  \
X		CHAN_BLUETOOTH			"chan_bluetooth"			off \
X		CODEC_SPEEX			"codec_speex"				on  \
X		FORMAT_JPEG			"format_jpeg"				on  \
X		FORMAT_OGGVORBIS		"format_oggvorbis"			on  \
X		FUNC_CALLERID			"func_callerid"				on  \
X		FUNC_CONFIG			"func_config"				on  \
X		FUNC_CDR			"func_cdr"				on  \
X		FUNC_DB				"func_db"				on  \
X		FUNC_ENUM			"func_enum"				on  \
X		FUNC_ENV			"func_env"				on  \
X		FUNC_FILEEXISTS			"func_fileexists"			on  \
X		FUNC_GROUPCOUNT			"func_groupcount"			on  \
X		FUNC_LANGUAGE			"func_language"				on  \
X		FUNC_LOGIC			"func_logic"				on  \
X		FUNC_MATH			"func_math"				on  \
X		FUNC_MD5			"func_md5"				on  \
X		FUNC_MOH			"func_moh"				on  \
X		FUNC_STRINGS			"func_strings"				on  \
X		FUNC_TIMEOUT			"func_timeout"				on  \
X		FUNC_URI			"func_uri"				on  \
X		PBX_DUNDI			"pbx_dundi"				off \
X		PBX_REALTIME			"pbx_realtime"				on  \
X		PBX_AEL				"pbx_ael (Experimental)"		off \
X		RES_CONFIG_CURL			"res_config_curl"			off \
X		RES_SQLITE			"res_sqlite"				off
X
X.include <bsd.port.pre.mk>
X
X.  if defined(WITH_ODBC)
XPLIST_SUB+=     WITH_ODBC=""
XLIB_DEPENDS+=	odbc.1:${PORTSDIR}/databases/unixODBC
XCONFIGURE_ARGS+= --enable-odbc \
X		--with-res_config_odbc \
X		--with-res_odbc
X.  else
XCONFIGURE_ARGS+= --disable-odbc
XPLIST_SUB+=     WITH_ODBC="@comment "
X.  endif
X
X.  if defined(WITH_POSTGRESQL)
XUSE_PGSQL=	yes
XWANT_PGSQL_VER=	82
XPLIST_SUB+=     WITH_POSTGRES=""
XCONFIGURE_ARGS+= --enable-postgresql \
X		--with-app_sql_postgres \
X		--with-res_config_pgsql
X.  else
XCONFIGURE_ARGS+= --disable-postgresql
XPLIST_SUB+=     WITH_POSTGRES="@comment "
X.  endif
X
X.  if defined(WITH_MYSQL)
XUSE_MYSQL=	yes
XPLIST_SUB+=     WITH_MYSQL=""
XCONFIGURE_ARGS+= --enable-mysql \
X		--with-app_sql_mysql \
X		--with-res_config_mysql
X.  else
XCONFIGURE_ARGS+= --disable-mysql
XPLIST_SUB+=     WITH_MYSQL="@comment "
X.  endif
X
X.  if defined(WITH_LOW_MEMORY)
XCONFIGURE_ARGS+= --enable-low_memory
X.  else
XCONFIGURE_ARGS+= --disable-low_memory
X.  endif
X
X.  if defined(WITH_JABBER)
XCONFIGURE_ARGS+= --enable-jabber \
X		--with-res_jabber
X.  else
XCONFIGURE_ARGS+= --disable-jabber
X.  endif
X
X.  if defined(WITH_JAVASCRIPT)
XCONFIGURE_ARGS+= --enable-javascript \
X		--with-res_js
X.  else
XCONFIGURE_ARGS+= --disable-javascript
X.  endif
X
X.  if defined(WITH_SRTP)
XCONFIGURE_ARGS+= --enable-srtp
X.  else
XCONFIGURE_ARGS+= --disable-srtp
X.  endif
X
X.  if defined(WITH_SSL)
XCONFIGURE_ARGS+= --enable-ssl
X.  else
XCONFIGURE_ARGS+= --disable-ssl
X.  endif
X
X.  if defined(WITH_IAX_TRUNKING)
XCONFIGURE_ARGS+= --enable-iax-trunking
X.  else
XCONFIGURE_ARGS+= --disable-iax-trunking
X.  endif
X
X.  if defined(WITH_T38)
XCONFIGURE_ARGS+= --enable-t38 --with-app_t38gateway
X.  else
XCONFIGURE_ARGS+= --disable-t38
X.  endif
X
X.  if defined(WITH_VISDN)
XCONFIGURE_ARGS+= --enable-visdn
X.  else
XCONFIGURE_ARGS+= --disable-visdn
X.  endif
X
X.  if defined(WITH_APP_ADSIPROG)
XCONFIGURE_ARGS+= --with-app_adsiprog
X.  else
XCONFIGURE_ARGS+= --without-app_adsiprog
X.  endif
X
X.  if defined(WITH_APP_SMS)
XCONFIGURE_ARGS+= --with-app_sms
X.  else
XCONFIGURE_ARGS+= --without-app_sms
X.  endif
X
X.  if defined(WITH_APP_PIPE)
XCONFIGURE_ARGS+= --with-app_pipe
X.  else
XCONFIGURE_ARGS+= --without-app_pipe
X.  endif
X
X.  if defined(WITH_APP_AUTHENTICATE)
XCONFIGURE_ARGS+= --with-app_authenticate
X.  else
XCONFIGURE_ARGS+= --without-app_authenticate
X.  endif
X
X.  if defined(WITH_APP_CDR)
XCONFIGURE_ARGS+= --with-app_cdr
X
X.  if defined(WITH_POSTGRESQL)
XCONFIGURE_ARGS+= --with-cdr_pgsql
X.  endif
X
X.  if defined(WITH_MYSQL)
XCONFIGURE_ARGS+= --with-cdr_mysql
X.  endif
X
X.  if defined(WITH_ODBC)
XCONFIGURE_ARGS+= --with-cdr_odbc
X.  endif
X
X.  else
XCONFIGURE_ARGS+= --without-app_cdr
X.  endif
X
X.  if defined(WITH_APP_CHANGRAB)
XCONFIGURE_ARGS+= --with-app_changrab
X.  else
XCONFIGURE_ARGS+= --without-app_changrab
X.  endif
X
X.  if defined(WITH_APP_CHANISAVAIL)
XCONFIGURE_ARGS+= --with-app_chanisavail
X.  else
XCONFIGURE_ARGS+= --without-app_chanisavail
X.  endif
X
X.  if defined(WITH_APP_CHANSPY)
XCONFIGURE_ARGS+= --with-app_chanspy
X.  else
XCONFIGURE_ARGS+= --without-app_chanspy
X.  endif
X
X.  if defined(WITH_APP_CONTROLPLAYBACK)
XCONFIGURE_ARGS+= --with-app_controlplayback
X.  else
XCONFIGURE_ARGS+= --without-app_controlplayback
X.  endif
X
X.  if defined(WITH_APP_DB)
XCONFIGURE_ARGS+= --with-app_db
X.  else
XCONFIGURE_ARGS+= --without-app_db
X.  endif
X
X.  if defined(WITH_APP_DIAL)
XCONFIGURE_ARGS+= --with-app_dial
X.  else
XCONFIGURE_ARGS+= --without-app_dial
X.  endif
X
X.  if defined(WITH_APP_DICTATE)
XCONFIGURE_ARGS+= --with-app_dictate
X.  else
XCONFIGURE_ARGS+= --without-app_dictate
X.  endif
X
X.  if defined(WITH_APP_DIRECTED_PICKUP)
XCONFIGURE_ARGS+= --with-app_directed_pickup
X.  else
XCONFIGURE_ARGS+= --without-app_directed_pickup
X.  endif
X
X.  if defined(WITH_APP_DIRECTORY)
XCONFIGURE_ARGS+= --with-app_directory
X.  else
XCONFIGURE_ARGS+= --without-app_directory
X.  endif
X
X.  if defined(WITH_APP_DISA)
XCONFIGURE_ARGS+= --with-app_disa
X.  else
XCONFIGURE_ARGS+= --without-app_disa
X.  endif
X
X.  if defined(WITH_APP_DTMFTOTEXT)
XCONFIGURE_ARGS+= --with-app_dtmftotext
X.  else
XCONFIGURE_ARGS+= --without-app_dtmftotext
X.  endif
X
X.  if defined(WITH_APP_DUMPCHAN)
XCONFIGURE_ARGS+= --with-app_dumpchan
X.  else
XCONFIGURE_ARGS+= --without-app_dumpchan
X.  endif
X
X.  if defined(WITH_APP_ECHO)
XCONFIGURE_ARGS+= --with-app_echo
X.  else
XCONFIGURE_ARGS+= --without-app_echo
X.  endif
X
X.  if defined(WITH_APP_ENUMLOOKUP)
XCONFIGURE_ARGS+= --with-app_enumlookup
X.  else
XCONFIGURE_ARGS+= --without-app_enumlookup
X.  endif
X
X.  if defined(WITH_APP_EVAL)
XCONFIGURE_ARGS+= --with-app_eval
X.  else
XCONFIGURE_ARGS+= --without-app_eval
X.  endif
X
X.  if defined(WITH_APP_EXEC)
XCONFIGURE_ARGS+= --with-app_exec
X.  else
XCONFIGURE_ARGS+= --without-app_exec
X.  endif
X
X.  if defined(WITH_APP_FAXDETECT)
XCONFIGURE_ARGS+= --with-app_faxdetect
X.  else
XCONFIGURE_ARGS+= --without-app_faxdetect
X.  endif
X
X.  if defined(WITH_APP_FLASH)
XCONFIGURE_ARGS+= --with-app_flash
X.  else
XCONFIGURE_ARGS+= --without-app_flash
X.  endif
X
X.  if defined(WITH_APP_FORKCDR)
XCONFIGURE_ARGS+= --with-app_forkcdr
X.  else
XCONFIGURE_ARGS+= --without-app_forkcdr
X.  endif
X
X.  if defined(WITH_APP_GETCPEID)
XCONFIGURE_ARGS+= --with-app_getcpeid
X.  else
XCONFIGURE_ARGS+= --without-app_getcpeid
X.  endif
X
X.  if defined(WITH_APP_GROUPCOUNT)
XCONFIGURE_ARGS+= --with-app_groupcount
X.  else
XCONFIGURE_ARGS+= --without-app_groupcount
X.  endif
X
X.  if defined(WITH_APP_HASNEWVOICEMAIL)
XCONFIGURE_ARGS+= --with-app_hasnewvoicemail
X.  else
XCONFIGURE_ARGS+= --without-app_hasnewvoicemail
X.  endif
X
X.  if defined(WITH_APP_LOOKUPBLACKLIST)
XCONFIGURE_ARGS+= --with-app_lookupblacklist
X.  else
XCONFIGURE_ARGS+= --without-app_lookupblacklist
X.  endif
X
X.  if defined(WITH_APP_LOOKUPCIDNAME)
XCONFIGURE_ARGS+= --with-app_lookupcidname
X.  else
XCONFIGURE_ARGS+= --without-app_lookupcidname
X.  endif
X
X.  if defined(WITH_APP_PROC)
XCONFIGURE_ARGS+= --with-app_proc
X.  else
XCONFIGURE_ARGS+= --without-app_proc
X.  endif
X
X.  if defined(WITH_APP_MEETME)
XCONFIGURE_ARGS+= --with-app_meetme
X.  else
XCONFIGURE_ARGS+= --without-app_meetme
X.  endif
X
X.  if defined(WITH_APP_MILLIWATT)
XCONFIGURE_ARGS+= --with-app_milliwatt
X.  else
XCONFIGURE_ARGS+= --without-app_milliwatt
X.  endif
X
X.  if defined(WITH_APP_MUXMON)
XCONFIGURE_ARGS+= --with-app_muxmon
X.  else
XCONFIGURE_ARGS+= --without-app_muxmon
X.  endif
X
X.  if defined(WITH_APP_OSPLOOKUP)
XCONFIGURE_ARGS+= --with-app_osplookup
X.  else
XCONFIGURE_ARGS+= --without-app_osplookup
X.  endif
X
X.  if defined(WITH_APP_PAGE)
XCONFIGURE_ARGS+= --with-app_page
X.  else
XCONFIGURE_ARGS+= --without-app_page
X.  endif
X
X.  if defined(WITH_APP_PLAYBACK)
XCONFIGURE_ARGS+= --with-app_playback
X.  else
XCONFIGURE_ARGS+= --without-app_playback
X.  endif
X
X.  if defined(WITH_APP_PRIVACY)
XCONFIGURE_ARGS+= --with-app_privacy
X.  else
XCONFIGURE_ARGS+= --without-app_privacy
X.  endif
X
X.  if defined(WITH_APP_QUEUE)
XCONFIGURE_ARGS+= --with-app_queue
X.  else
XCONFIGURE_ARGS+= --without-app_queue
X.  endif
X
X.  if defined(WITH_APP_RANDOM)
XCONFIGURE_ARGS+= --with-app_random
X.  else
XCONFIGURE_ARGS+= --without-app_random
X.  endif
X
X.  if defined(WITH_APP_READ)
XCONFIGURE_ARGS+= --with-app_read
X.  else
XCONFIGURE_ARGS+= --without-app_read
X.  endif
X
X.  if defined(WITH_APP_RECORD)
XCONFIGURE_ARGS+= --with-app_record
X.  else
XCONFIGURE_ARGS+= --without-app_record
X.  endif
X
X.  if defined(WITH_APP_RXFAX)
XCONFIGURE_ARGS+= --with-app_rxfax
X.  else
XCONFIGURE_ARGS+= --without-app_rxfax
X.  endif
X
X.  if defined(WITH_APP_SAYUNIXTIME)
XCONFIGURE_ARGS+= --with-app_sayunixtime
X.  else
XCONFIGURE_ARGS+= --without-app_sayunixtime
X.  endif
X
X.  if defined(WITH_APP_SETCALLERPRES)
XCONFIGURE_ARGS+= --with-app_setcallerpres
X.  else
XCONFIGURE_ARGS+= --without-app_setcallerpres
X.  endif
X
X.  if defined(WITH_APP_SENDDTMF)
XCONFIGURE_ARGS+= --with-app_senddtmf
X.  else
XCONFIGURE_ARGS+= --without-app_senddtmf
X.  endif
X
X.  if defined(WITH_APP_SENDTEXT)
XCONFIGURE_ARGS+= --with-app_sendtext
X.  else
XCONFIGURE_ARGS+= --without-app_sendtext
X.  endif
X
X.  if defined(WITH_APP_SETCDRUSERFIELD)
XCONFIGURE_ARGS+= --with-app_setcdruserfield
X.  else
XCONFIGURE_ARGS+= --without-app_setcdruserfield
X.  endif
X
X.  if defined(WITH_APP_SETRDNIS)
XCONFIGURE_ARGS+= --with-app_setrdnis
X.  else
XCONFIGURE_ARGS+= --without-app_setrdnis
X.  endif
X
X.  if defined(WITH_APP_SETTRANSFERCAPABILITY)
XCONFIGURE_ARGS+= --with-app_settransfercapability
X.  else
XCONFIGURE_ARGS+= --without-app_settransfercapability
X.  endif
X
X.  if defined(WITH_APP_SOFTHANGUP)
XCONFIGURE_ARGS+= --with-app_softhangup
X.  else
XCONFIGURE_ARGS+= --without-app_softhangup
X.  endif
X
X.  if defined(WITH_APP_SQL_MYSQL)
XCONFIGURE_ARGS+= --with-app_sql_mysql
X.  else
XCONFIGURE_ARGS+= --without-app_sql_mysql
X.  endif
X
X.  if defined(WITH_APP_SYSTEM)
XCONFIGURE_ARGS+= --with-app_system
X.  else
XCONFIGURE_ARGS+= --without-app_system
X.  endif
X
X.  if defined(WITH_APP_BACKTICKS)
XCONFIGURE_ARGS+= --with-app_backticks
X.  else
XCONFIGURE_ARGS+= --without-app-backticks
X.  endif
X
X.  if defined(WITH_APP_BACKGROUNDDETECT)
XCONFIGURE_ARGS+= --with-app_backgrounddetect
X.  else
XCONFIGURE_ARGS+= --without-app_backgrounddetect
X.  endif
X
X.  if defined(WITH_APP_TRANSFER)
XCONFIGURE_ARGS+= --with-app_transfer
X.  else
XCONFIGURE_ARGS+= --without-app_transfer
X.  endif
X
X.  if defined(WITH_APP_TXFAX)
XCONFIGURE_ARGS+= --with-app_txfax
X.  else
XCONFIGURE_ARGS+= --without-app_txfax
X.  endif
X
X.  if defined(WITH_APP_USEREVENT)
XCONFIGURE_ARGS+= --with-app_userevent
X.  else
XCONFIGURE_ARGS+= --without-app_userevent
X.  endif
X
X.  if defined(WITH_APP_VALETPARKING)
XCONFIGURE_ARGS+= --with-app_valetparking
X.  else
XCONFIGURE_ARGS+= --without-app_valetparking
X.  endif
X
X.  if defined(WITH_APP_VERBOSE)
XCONFIGURE_ARGS+= --with-app_verbose
X.  else
XCONFIGURE_ARGS+= --without-app_verbose
X.  endif
X
X.  if defined(WITH_APP_VISDN_PPP)
XCONFIGURE_ARGS+= --with-app_visdn_ppp
X.  else
XCONFIGURE_ARGS+= --without-app_visdn
X.  endif
X
X.  if defined(WITH_APP_VOICEMAIL)
XCONFIGURE_ARGS+= --with-app_voicemail
X.  else
XCONFIGURE_ARGS+= --without-app_voicemail
X.  endif
X
X.  if defined(WITH_APP_WAITFORRING)
XCONFIGURE_ARGS+= --with-app_waitforring
X.  else
XCONFIGURE_ARGS+= --without-app_waitforring
X.  endif
X
X.  if defined(WITH_APP_WAITFORSILENCE)
XCONFIGURE_ARGS+= --with-app_waitforsilence
X.  else
XCONFIGURE_ARGS+= --without-app_waitforsilence
X.  endif
X
X.  if defined(WITH_APP_WHILE)
XCONFIGURE_ARGS+= --with-app_while
X.  else
XCONFIGURE_ARGS+= --without-app_while
X.  endif
X
X.  if defined(WITH_APP_LDAP)
XUSE_OPENLDAP=	yes
XUSE_OPENLDAP_VER=24
XCONFIGURE_ARGS+= --with-app_ldap
X.  else
XCONFIGURE_ARGS+= --without-app_ldap
X.  endif
X
X.  if defined(WITH_APP_DEVSTATE)
XCONFIGURE_ARGS+= --with-app_devstate
X.  else
XCONFIGURE_ARGS+= --without-app_devstate
X.  endif
X
X.  if defined(WITH_APP_STACK)
XCONFIGURE_ARGS+= --with-app_stack
X.  else
XCONFIGURE_ARGS+= --without-app_stack
X.  endif
X
X.  if defined(WITH_APP_GETDEVSTATE)
XCONFIGURE_ARGS+= --with-app_getdevstate
X.  else
XCONFIGURE_ARGS+= --without-app_getdevstate
X.  endif
X
X.  if defined(WITH_APP_GETEXTSTATE)
XCONFIGURE_ARGS+= --with-app_getextstate
X.  else
XCONFIGURE_ARGS+= --without-app_getextstate
X.  endif
X
X.  if defined(WITH_CHAN_AGENT)
XCONFIGURE_ARGS+= --with-chan_agent
X.  else
XCONFIGURE_ARGS+= --without-chan_agent
X.  endif
X
X.  if defined(WITH_CHAN_CAPI)
XCONFIGURE_ARGS+= --with-chan_capi
X.  else
XCONFIGURE_ARGS+= --without-chan_capi
X.  endif
X
X.  if defined(WITH_CHAN_FEATURES)
XCONFIGURE_ARGS+= --with-chan_features
X.  else
XCONFIGURE_ARGS+= --without-chan_features
X.  endif
X
X.  if defined(WITH_CHAN_IAX2)
XCONFIGURE_ARGS+= --with-chan_iax2
X.  else
XCONFIGURE_ARGS+= --without-chan_iax2
X.  endif
X
X.  if defined(WITH_CHAN_LOCAL)
XCONFIGURE_ARGS+= --with-chan_local
X.  else
XCONFIGURE_ARGS+= --without-chan_local
X.  endif
X
X.  if defined(WITH_CHAN_MGCP)
XCONFIGURE_ARGS+= --with-chan_mgcp
X.  else
XCONFIGURE_ARGS+= --without-chan_mgcp
X.  endif
X
X.  if defined(WITH_CHAN_SIP)
XCONFIGURE_ARGS+= --with-chan_sip
X.  else
XCONFIGURE_ARGS+= --without-chan_sip
X.  endif
X
X.  if defined(WITH_CHAN_SCCP)
XCONFIGURE_ARGS+= --with-chan_sccp
X.  else
XCONFIGURE_ARGS+= --without-chan_sccp
X.  endif
X
X.  if defined(WITH_CHAN_UNICALL)
XCONFIGURE_ARGS+= --with-chan_unicall
X.  else
XCONFIGURE_ARGS+= --without-chan_unicall
X.  endif
X
X.  if defined(WITH_CHAN_WOOMERA)
XCONFIGURE_ARGS+= --with-chan_woomera
X.  else
XCONFIGURE_ARGS+= --without-chan_woomera
X.  endif
X
X.  if defined(WITH_CHAN_VISDN)
XCONFIGURE_ARGS+= --with-chan_visdn
X.  else
XCONFIGURE_ARGS+= --without-chan_visdn
X.  endif
X
X.  if defined(WITH_CHAN_BLUETOOTH)
XCONFIGURE_ARGS+= --with-chan_bluetooth
X.  else
XCONFIGURE_ARGS+= --without-chan_bluetooth
X.  endif
X
X.  if defined(WITH_CODEC_SPEEX)
XLIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
XCONFIGURE_ARGS+= --with-codec_speex
XPLIST_SUB+=     WITH_SPEEX=""
X.  else
XCONFIGURE_ARGS+= --without-codec_speex
XPLIST_SUB+=     WITH_SPEEX="@comment "
X.  endif
X
X.  if defined(WITH_FORMAT_JPEG)
XCONFIGURE_ARGS+= --with-format_jpeg
X.  else
XCONFIGURE_ARGS+= --without-format_jpeg
X.  endif
X
X.  if defined(WITH_FORMAT_OGGVORBIS)
XLIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
XCONFIGURE_ARGS+= --with-format_oggvorbis
XPLIST_SUB+=     WITH_OGGVORBIS=""
X.  else
XCONFIGURE_ARGS+= --without-format_oggvorbis
XPLIST_SUB+=     WITH_OGGVORBIS="@comment "
X.  endif
X
X.  if defined(WITH_FUNC_CONFIG)
XCONFIGURE_ARGS+= --with-func_config
X.  else
XCONFIGURE_ARGS+= --without-func_config
X.  endif
X
X.  if defined(WITH_FUNC_CALLERID)
XCONFIGURE_ARGS+= --with-func_callerid
X.  else
XCONFIGURE_ARGS+= --without-func_callerid
X.  endif
X
X.  if defined(WITH_FUNC_CDR)
XCONFIGURE_ARGS+= --with-func_cdr
X.  else
XCONFIGURE_ARGS+= --without-func_cdr
X.  endif
X
X.  if defined(WITH_FUNC_DB)
XCONFIGURE_ARGS+= --with-func_db
X.  else
XCONFIGURE_ARGS+= --without-func_db
X.  endif
X
X.  if defined(WITH_FUNC_ENUM)
XCONFIGURE_ARGS+= --with-func_enum
X.  else
XCONFIGURE_ARGS+= --without-func_enum
X.  endif
X
X.  if defined(WITH_FUNC_ENV)
XCONFIGURE_ARGS+= --with-func_env
X.  else
XCONFIGURE_ARGS+= --without-func_env
X.  endif
X
X.  if defined(WITH_FUNC_FILEEXISTS)
XCONFIGURE_ARGS+= --with-func_fileexists
X.  else
XCONFIGURE_ARGS+= --without-func_fileexists
X.  endif
X
X.  if defined(WITH_FUNC_GROUPCOUNT)
XCONFIGURE_ARGS+= --with-func_groupcount
X.  else
XCONFIGURE_ARGS+= --without-func_groupcount
X.  endif
X
X.  if defined(WITH_FUNC_LANGUAGE)
XCONFIGURE_ARGS+= --with-func_language
X.  else
XCONFIGURE_ARGS+= --without-func_language
X.  endif
X
X.  if defined(WITH_FUNC_LOGIC)
XCONFIGURE_ARGS+= --with-func_logic
X.  else
XCONFIGURE_ARGS+= --without-func_logic
X.  endif
X
X.  if defined(WITH_FUNC_MATH)
XCONFIGURE_ARGS+= --with-func_math
X.  else
XCONFIGURE_ARGS+= --without-func_math
X.  endif
X
X.  if defined(WITH_FUNC_MD5)
XCONFIGURE_ARGS+= --with-func_md5
X.  else
XCONFIGURE_ARGS+= --without-func_md5
X.  endif
X
X.  if defined(WITH_FUNC_MOH)
XCONFIGURE_ARGS+= --with-func_moh
X.  else
XCONFIGURE_ARGS+= --without-func_moh
X.  endif
X
X.  if defined(WITH_FUNC_STRINGS)
XCONFIGURE_ARGS+= --with-func_strings
X.  else
XCONFIGURE_ARGS+= --without-func_strings
X.  endif
X
X.  if defined(WITH_FUNC_TIMEOUT)
XCONFIGURE_ARGS+= --with-func_timeout
X.  else
XCONFIGURE_ARGS+= --without-func_timeout
X.  endif
X
X.  if defined(WITH_FUNC_URI)
XCONFIGURE_ARGS+= --with-func_uri
X.  else
XCONFIGURE_ARGS+= --without-func_uri
X.  endif
X
X.  if defined(WITH_PBX_DUNDI)
XCONFIGURE_ARGS+= --with-pbx_dundi
X.  else
XCONFIGURE_ARGS+= --without-pbx_dundi
X.  endif
X
X.  if defined(WITH_PBX_REALTIME)
XCONFIGURE_ARGS+= --with-pbx_realtime
X.  else
XCONFIGURE_ARGS+= --without-pbx_realtime
X.  endif
X
X.  if defined(WITH_PBX_AEL)
XCONFIGURE_ARGS+= --with-pbx_ael
X.  else
XCONFIGURE_ARGS+= --without-pbx_ael
X.  endif
X
X.  if defined(WITH_RES_CONFIG_CURL)
XCONFIGURE_ARGS+= --with-res_config_curl
X.  else
XCONFIGURE_ARGS+= --without-res_config_curl
X.  endif
X
X.  if defined(WITH_RES_SQLITE)
XCONFIGURE_ARGS+= --with-res_sqlite
X.  else
XCONFIGURE_ARGS+= --without-res_sqlite
X.  endif
X
Xpre-install:
X	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
X
Xpost-install:
X	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
X
Xpost-deinstall:
X	PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PORTNAME} POST-DEINSTALL
X
X.include <bsd.port.post.mk>
END-of-callweaver/Makefile
exit
--- callweaver-1.2.0.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080615015640.B7C681145C>