freebsd-ports/net/sipxportlib/Makefile
Martin Wilke 69c26a938c sipXportLib is a library of general purpose utilities and OS
abstraction APIs.  It is a necessary dependancy of the sipX project.

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:25:32 +00:00

38 lines
1.1 KiB
Makefile

# Ports collection makefile for: sipxportlib
# Date created: Jan 8, 2007
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#
PORTNAME= sipxportlib
PORTVERSION= 3.6.0
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/
MAINTAINER= durian@shadetreesoftware.com
COMMENT= sipX library of general purpose utils and OS abstration APIs.
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
BUILD_DEPENDS= cppunit-config:${PORTSDIR}/devel/cppunit \
ginstall:${PORTSDIR}/sysutils/coreutils
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:259:env automake:19:env
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PERL5_RUN= yes
LOCALSTATEDIR=${DESTDIR}/var
CONFIGURE_ENV+= wwwdir=${PREFIX}/www/sipX \
INSTALL=`which ginstall`
CONFIGURE_ARGS+= --enable-sip-tls \
--prefix=${PREFIX} \
--localstatedir=${LOCALSTATEDIR}
post-patch:
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipx-upgrade-testsuite.in
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/bin/sipx-upgrade.in
.include <bsd.port.mk>