aboutsummaryrefslogtreecommitdiffstats
path: root/net/sipxregistry/Makefile
blob: 4cf0e93d1394fb3656e675cee89fd4b5b96469f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# Ports collection makefile for: sipxregistry
# Date created: Jan 8, 2007
# Whom: Michael Durian <durian@shadetreesoftware.com>
#
# $FreeBSD$
#

PORTNAME=   sipxregistry
PORTVERSION=    3.6.0
PORTREVISION=   5
CATEGORIES= net
MASTER_SITES=   http://www.sipfoundry.org/pub/sipX/3.6/SRC/

MAINTAINER= ports@FreeBSD.org
COMMENT=    sipX server for handling SIP UA registrations

BUILD_DEPENDS=  ginstall:${PORTSDIR}/sysutils/coreutils \
        cppunit-config:${PORTSDIR}/devel/cppunit
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

DEPRECATED=     depends on broken port net/sipxcommserverlib
EXPIRATION_DATE=    2009-03-27

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  autoconf:262:env automake:19:env
GNU_CONFIGURE=  yes
USE_LDCONFIG=   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/sipregistrar.sh.in

pre-install:

pre-install:
    @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL

post-install:
    @${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL

.include <bsd.port.mk>