1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net/sipxconfig/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

62 lines
1.7 KiB
Makefile

# Ports collection makefile for: sipxconfig
# Date created: Jan 8, 2007
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#
PORTNAME= sipxconfig
PORTVERSION= 3.6.0
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/
MAINTAINER= durian@shadetreesoftware.com
COMMENT= sipX server for configuring sipX via a web interface
BUILD_DEPENDS= ant:${PORTSDIR}/devel/apache-ant \
${JAVALIBDIR}/junit.jar:${PORTSDIR}/java/junit \
gem:${PORTSDIR}/devel/ruby-gems \
rake:${PORTSDIR}/devel/rubygem-rake \
zip:${PORTSDIR}/archivers/zip \
ginstall:${PORTSDIR}/sysutils/coreutils
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
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf:259:env automake:19:env
USE_JAVA= 1.4+
USE_APACHE= 2.0+
USE_RUBY= yes
GNU_CONFIGURE= yes
LOCALSTATEDIR=${DESTDIR}/var
CONFIGURE_ENV+= JAVA_HOME=${JAVA_HOME} \
wwwdir=${PREFIX}/www/sipX \
INSTALL=`which ginstall`
CONFIGURE_ARGS+= --enable-sip-tls \
--prefix=${PREFIX} \
--localstatedir=${LOCALSTATEDIR} \
--enable-ruby-bindings
SUB_LIST= LOCALSTATEDIR=${LOCALSTATEDIR} \
PREFIX=${PREFIX}
SUB_FILES= pkg-install pkg-deinstall
PKGINSTALL= ${WRKDIR}/pkg-install
post-patch:
@${REINPLACE_CMD} -e "s,/bin/bash,${PREFIX}/bin/bash," ${WRKSRC}/web/bin/sipxconfig.sh.in
@${REINPLACE_CMD} -e "s,@PREFIX@,${PREFIX}," ${WRKSRC}/web/bin/sipxconfig.sh.in
pre-install:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
post-install:
@${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
.include <bsd.port.mk>