aboutsummaryrefslogtreecommitdiffstats
path: root/net/rtpproxy/Makefile
blob: 8e88a5f73760aad7bd7b8bdc77b894cd1909d4ac (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
# New ports collection makefile for:   rtpproxy
# Date created:        20 April 2005
# Whom:                sobomax@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   rtpproxy
PORTVERSION=    1.2.1
CATEGORIES= net
MASTER_SITES=   http://www.rtpproxy.org/chrome/site/

MAINTAINER= sobomax@FreeBSD.org
COMMENT=    A high-performance RTP proxy server for the SIP Express Router (SER)

LIB_DEPENDS=    gsm.1:${PORTSDIR}/audio/gsm

GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
        LIBS=-L${LOCALBASE}/lib
#CONFIGURE_ARGS=    --mandir=${LOCALBASE}/man
MAN8=       rtpproxy.8

post-build:
    ${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%RC_SUBR%%|/etc/rc.subr|g' \
        ${WRKSRC}/freebsd/rtpproxy.in > ${WRKDIR}/rtpproxy

post-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${PREFIX}/etc/rc.d/rtpproxy

.include <bsd.port.mk>