summaryrefslogtreecommitdiffstats
path: root/net/rtpproxy/Makefile
blob: 2ae0c30386f09c5b8d26dd9eea83bdafa44c9588 (plain)
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
# Created by: sobomax
# $FreeBSD$

PORTNAME=	rtpproxy
PORTVERSION=	2.0.0
DISTVERSIONPREFIX=	v
PORTREVISION=	1
CATEGORIES=	net

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

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libgsm.so:audio/gsm

USE_GITHUB=	yes
GH_ACCOUNT=	sippy

GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib

USERS=		${PORTNAME}
GROUPS=		${PORTNAME}

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

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud