[Bug 208645] FreeSwitch IP-PBX Softswitch Devel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 9 01:41:05 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208645

--- Comment #1 from Michael Kieran Martin Vale <masked at faithphone.com.au> ---
#bORG

PORTNAME=       freeswitch
PORTVERSION=    1.7.0
CATEGORIES=     net
MASTER_SITES=   http://www.faith.ski/freeswitch/
DISTNAME=       ${PORTNAME}-${PORTVERSION}
MAINTAINER=     masked at faithphone.com.au
COMMENT=        Open Source PBX and telephony toolkit

BUILD_DEPENDS=  autoconf:${PORTSDIR}/devel/autoconf \
                automake:${PORTSDIR}/devel/automake \
                curl:${PORTSDIR}/ftp/curl \
                git:${PORTSDIR}/devel/git \
                gmake:${PORTSDIR}/devel/gmake \
                libtool:${PORTSDIR}/devel/libtool \
               
${LOCALBASE}/lib/erlang/usr/include/ei.h:${PORTSDIR}/lang/erlang \

LIB_DEPENDS=    libevent.so:${PORTSDIR}/devel/libevent2 \
                libmemcached.so:${PORTSDIR}/databases/libmemcached \
                libjpeg.so:${PORTSDIR}/graphics/jpeg \
                libldns.so:${PORTSDIR}/dns/ldns \
                libedit.so:${PORTSDIR}/devel/libedit \
                libpcre.so:${PORTSDIR}/devel/pcre \
                libspeexdsp.so:${PORTSDIR}/audio/speexdsp \
                libopus.so:${PORTSDIR}/audio/opus \
                libportaudio.so:${PORTSDIR}/audio/portaudio \
                libshout.so:${PORTSDIR}/audio/libshout \
                libsndfile.so:${PORTSDIR}/audio/libsndfile \
                libmpg123.so:${PORTSDIR}/audio/mpg123 \
                libmp3lame.so:${PORTSDIR}/audio/lame \
#               libmp4v2.so:${PORTSDIR}/multimedia/mp4v2 \
                libsasl2.so:${PORTSDIR}/security/cyrus-sasl2

RUN_DEPENDS=    postmaster:${PORTSDIR}/databases

ONLY_FOR_ARCHS= sparc32 arm mips amd64 powerpc


GNU_CONFIGURE=  yes
CONFIGURE_ARGS+= --with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
LDFLAGS+=       -L${LOCALBASE}/lib
CPPFLAGS+=      -I${LOCALBASE}/include
CFLAGS+=        -I${LOCALBASE}/include -I${LOCALBASE}/lib/erlang/include
#USE_CSTD=       gnu89
USE_LDCONFIG=   yes
INSTALL_TARGET= ${STRIP_CMD}
USES=   pgsql gmake lua pkgconfig jpeg libtool shebangfix
SHEBANG_FILES=          scripts/fsxs.in
USE_OPENLDAP=   yes
CPE_VENDOR=     FreeSWITCH
USE_RC_SUBR=    freeswitch

USERS=          ${PORTNAME}
GROUPS=         ${USERS}

MODULES+=       ${ENABLEDMODULES}
.for $modules in `grep -v "^#" ${WRKSRC}/modules.conf`
ENABLEMODULES+= ${modules}
.endfor

MYSQL_DESC=             Use MySQL as core backend
PGSQL_DESC=             Use PostgreSQL as core backend
ODBC_DESC=              Use ODBC as core backend
LDAP_DESC=              Build with LDAP authentication support
PAM_DESC=               Build with PAM authentication support
SSL_DESC=               Build with OpenSSL support

OPTIONS_DEFINE= PGSQL ODBC LDAP MP4V2 ZRTP PAM SSL

PGSQL_USE=      USES+=pgsql
PGSQL_CONFIGURE_ENABLE=         core-pgsql-support

ODBC_USE=       USES+=odbc
ODBC_CONFIGURE_ENABLE=          core-odbc-support

ZRTP_USE=       USES+=zrtp
ZRTP_CONFIGURE_ENABLE=  zrtp

LDAP_USE=       USES+=ldap
MODULES+=directories/mod_ldap/

MP4V2_USE=      USES+=mp4v2
MODULES+=applications/mod_mp4v2

SSL_USE=        USES+=ssl
SSL_CONFIGURE_WITH= openssl

ZRTP_USE=       USES+=zrtp
ZRTP_CONFIGURE_ENABLE= zrtp

#AMD64_USE=     USES+=amd64
#AMD64_CONFIGURE_ENABLE= --enable-64

.include <bsd.port.mk>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list