|
Lines 1-19
Link Here
|
| 1 |
# Created by: sobomax |
1 |
# Created by: Euan Thoms <euan@potensol.com> |
| 2 |
# $FreeBSD: head/net/rtpproxy/Makefile 365277 2014-08-18 11:52:27Z wg $ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= rtpproxy |
4 |
PORTNAME= rtpproxy |
| 5 |
PORTVERSION= 1.2.1 |
5 |
PORTVERSION= 2.0.0 |
| 6 |
PORTREVISION= 1 |
|
|
| 7 |
CATEGORIES= net |
6 |
CATEGORIES= net |
| 8 |
MASTER_SITES= http://www.rtpproxy.org/chrome/site/ |
7 |
MASTER_SITES= https://github.com/sippy/rtpproxy/archive/ |
|
|
8 |
DISTNAME= v${PORTVERSION} |
| 9 |
|
9 |
|
| 10 |
MAINTAINER= ports@FreeBSD.org |
10 |
MAINTAINER= euan@potensol.com |
| 11 |
COMMENT= High-performance RTP proxy server for the SIP Express Router (SER) |
11 |
COMMENT= High-performance RTP proxy server for the SIP Routers |
| 12 |
|
12 |
|
| 13 |
LICENSE= BSD2CLAUSE |
13 |
LICENSE= BSD2CLAUSE |
| 14 |
|
14 |
|
| 15 |
LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm |
15 |
LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm |
| 16 |
|
16 |
|
|
|
17 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
| 18 |
|
| 19 |
USE_RC_SUBR= rtpproxy |
| 20 |
|
| 17 |
GNU_CONFIGURE= yes |
21 |
GNU_CONFIGURE= yes |
| 18 |
CPPFLAGS+= -I${LOCALBASE}/include |
22 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 19 |
LIBS+= -L${LOCALBASE}/lib |
23 |
LIBS+= -L${LOCALBASE}/lib |
|
Lines 21-31
Link Here
|
| 21 |
USERS= ${PORTNAME} |
25 |
USERS= ${PORTNAME} |
| 22 |
GROUPS= ${PORTNAME} |
26 |
GROUPS= ${PORTNAME} |
| 23 |
|
27 |
|
| 24 |
post-build: |
|
|
| 25 |
${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%RC_SUBR%%|/etc/rc.subr|g' \ |
| 26 |
${WRKSRC}/freebsd/rtpproxy.in > ${WRKDIR}/rtpproxy |
| 27 |
|
| 28 |
post-install: |
| 29 |
${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${STAGEDIR}${PREFIX}/etc/rc.d/rtpproxy |
| 30 |
|
| 31 |
.include <bsd.port.mk> |
28 |
.include <bsd.port.mk> |