mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
48420a5ebd
PR: ports/116639 Submitted by: aDe
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Ports collection makefile for: sipxpublisher
|
|
# Date created: Jan 8, 2007
|
|
# Whom: Michael Durian <durian@shadetreesoftware.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sipxpublisher
|
|
PORTVERSION= 3.6.0
|
|
PORTREVISION= 4
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.sipfoundry.org/pub/sipX/3.6/SRC/
|
|
|
|
MAINTAINER= durian@shadetreesoftware.com
|
|
COMMENT= sipX server for handling SIP event subscriptions
|
|
|
|
BUILD_DEPENDS= 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
|
|
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= autoconf:261:env automake:19:env
|
|
GNU_CONFIGURE= yes
|
|
LOCALSTATEDIR= /var
|
|
CONFIGURE_ENV+= wwwdir=${PREFIX}/www/sipX \
|
|
INSTALL=`which ginstall`
|
|
CONFIGURE_ARGS+= --enable-sip-tls \
|
|
--prefix=${PREFIX} \
|
|
--localstatedir=${LOCALSTATEDIR}
|
|
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}/bin/sipstatus.sh.in
|
|
|
|
pre-install:
|
|
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
|
|
|
|
post-install:
|
|
@${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|