freebsd-ports/net/rtpproxy/Makefile
Maxim Sobolev fd17cc1963 Add unprivileged user to run under, so it's more secure.
Reminded by:    Olle E. Johansson
2012-12-12 02:08:33 +00:00

35 lines
896 B
Makefile

# New ports collection makefile for: rtpproxy
# Date created: 20 April 2005
# Whom: sobomax@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= rtpproxy
PORTVERSION= 1.2.1
PORTREVISION= 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+= LIBS=-L${LOCALBASE}/lib
CPPFLAGS+= -I${LOCALBASE}/include
#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
pre-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${PREFIX}/etc/rc.d/rtpproxy
.include <bsd.port.mk>