1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/net/sipxproxy/Makefile
Martin Wilke a1ee2deb53 sipXproxy is the authorization and call record server component of the
sipX family.

WWW: http://sipx-wiki.calivia.com/index.php/Main_Page

PR:		ports/107931
Submitted by:	Michael Durian <durian at shadetreesoftware.com>
2007-02-01 22:42:19 +00:00

49 lines
1.6 KiB
Makefile

# Ports collection makefile for: sipxproxy
# Date created: Jan 8, 2007
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#
PORTNAME= sipxproxy
PORTVERSION= 3.6.0
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/
MAINTAINER= durian@shadetreesoftware.com
COMMENT= sipX server for handling SIP authorization and call records
LIB_DEPENDS= sipXport:${PORTSDIR}/net/sipxportlib \
sipXtack:${PORTSDIR}/net/sipxtacklib \
sipXcommserver:${PORTSDIR}/net/sipxcommserverlib \
pcre.0:${PORTSDIR}/devel/pcre
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
psql:${PORTSDIR}/databases/postgresql81-client
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \
gem:${PORTSDIR}/devel/ruby-gems \
rake:${PORTSDIR}/devel/rubygem-rake \
ginstall:${PORTSDIR}/sysutils/coreutils \
cppunit-config:${PORTSDIR}/devel/cppunit
USE_BZIP2= yes
USE_GMAKE= yes
USE_RUBY= yes
USE_AUTOTOOLS= autoconf:259:env automake:19:env
GNU_CONFIGURE= yes
LOCALSTATEDIR=${DESTDIR}/var
CONFIGURE_ENV+= wwwdir=${PREFIX}/www/sipX \
INSTALL=`which ginstall`
CONFIGURE_ARGS+= --enable-sip-tls \
--prefix=${PREFIX} \
--localstatedir=${LOCALSTATEDIR}
SUB_LIST= LOCALSTATEDIR=${LOCALSTATEDIR}
SUB_FILES= pkg-deinstall
post-patch:
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipxcallresolver.sh.in
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipproxy.sh.in
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipauthproxy.sh.in
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipxha-distrib.sh.in
.include <bsd.port.mk>