PORTNAME= rtpproxy PORTVERSION= 2.1.1 DISTVERSIONPREFIX= v PORTREVISION= 1 CATEGORIES= net MAINTAINER= farrokhi@FreeBSD.org COMMENT= High-performance RTP proxy server for the SIP Express Router (SER) WWW= https://www.rtpproxy.org/ LICENSE= BSD2CLAUSE LIB_DEPENDS= libgsm.so:audio/gsm USES+= cpe libtool USE_GITHUB= yes GH_ACCOUNT= sippy GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share 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