mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
c38fa4145f
2. Maintains the mediaproxy script as the "master," so the user experience of 'service mediaproxy <start|stop>' will be the same. 3. Instead of resetting ${WRKSRC}, mv the directory to the more typical name so that we can use mediaproxy.in instead of mediaproxy.sh.in. PR: ports/157073 Submitted by: me Approved by: maintainer
39 lines
819 B
Makefile
39 lines
819 B
Makefile
# New ports collection makefile for: mediaproxy
|
|
# Date created: 08 August 2006
|
|
# Whom: Steve Ames <steve@energistic.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mediaproxy
|
|
PORTVERSION= 1.8.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://mediaproxy.ag-projects.com/ \
|
|
http://mediaproxy.ag-projects.com/old/
|
|
|
|
MAINTAINER= steve@energistic.com
|
|
COMMENT= A far-end NAT traversal solution for SER/OpenSER
|
|
|
|
USE_RC_SUBR= mediaproxy proxydispatcher
|
|
|
|
USE_PYTHON= 2.5+
|
|
|
|
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD}
|
|
|
|
OPTIONS= ACCOUNTING "ACCOUNTING support (Requires MySQL)" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ACCOUNTING)
|
|
USE_MYSQL= yes
|
|
.endif
|
|
|
|
post-extract:
|
|
@${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
|
|
|
|
post-install:
|
|
${CP} -pRP ${WRKSRC}/ ${PREFIX}/mediaproxy
|
|
${CHOWN} -R 0:0 ${PREFIX}/mediaproxy
|
|
|
|
.include <bsd.port.post.mk>
|