mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
3e7d8541e9
Submitted by: pointyhat via kris
37 lines
783 B
Makefile
37 lines
783 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= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://mediaproxy.ag-projects.com/ \
|
|
http://mediaproxy.ag-projects.com/old/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= steve@energistic.com
|
|
COMMENT= A far-end NAT traversal solution for SER/OpenSER
|
|
|
|
USE_RC_SUBR= mediaproxy.sh
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_PYTHON= 2.3+
|
|
|
|
OPTIONS= ACCOUNTING "ACCOUNTING support (Requires MySQL)" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ACCOUNTING)
|
|
USE_MYSQL= yes
|
|
.endif
|
|
|
|
post-install:
|
|
${CP} -pRP ${WRKSRC}/ ${PREFIX}/mediaproxy
|
|
${CHOWN} -R 0:0 ${PREFIX}/mediaproxy
|
|
|
|
.include <bsd.port.post.mk>
|