aboutsummaryrefslogtreecommitdiffstats
path: root/net/mediaproxy/Makefile
blob: 79a2ca15d4360c1b614fded2eca586cd92457d9b (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
35
36
37
# Created by: 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= yes

SUB_LIST+=  PYTHON_CMD=${PYTHON_CMD}

OPTIONS_DEFINE= ACCOUNTING
ACCOUNTING_DESC=    ACCOUNTING support (Requires MySQL)

NO_STAGE=   yes
.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MACCOUNTING}
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>