aboutsummaryrefslogtreecommitdiffstats
path: root/net/mediaproxy/Makefile
blob: 3a585ab82958a80549e81ce733c4370940d234ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    mediaproxy
# Date created:             08 August 2006
# Whom:                 Steve Ames <steve@energistic.com>
#
# $FreeBSD$

PORTNAME=   mediaproxy
PORTVERSION=    1.7.2
CATEGORIES= net
MASTER_SITES=   http://mediaproxy.ag-projects.com/
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>