aboutsummaryrefslogblamecommitdiffstats
path: root/net/sipxpublisher/Makefile
blob: 5ceed20e33146e8c3545eeb7a3853c35dab31858 (plain) (tree)





































                                                                                            
# Ports collection makefile for: sipxpublisher
# Date created: Jan 8, 2007
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#

PORTNAME=   sipxpublisher
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 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: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/sipstatus.sh.in

.include <bsd.port.mk>