aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/ezradius/Makefile
blob: d9a70de1c2206d8ee65626479ac43920bd399f5f (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
# New ports collection makefile for:    ezradius
# Date created:     2008-05-29
# Whom:         Lucio Costa <lucio@zetasolucoes.com.br>
#
# $FreeBSD$
#

PORTNAME=   ezradius
PORTVERSION=    0.2.1.2
CATEGORIES= net-mgmt
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.2.1stable
DISTNAME=   ${PORTNAME}-${PORTVERSION}stable${EXTRACT_SUFFIX}

MAINTAINER= lucio@zetasolucoes.com.br
COMMENT=    EzRADIUS is FreeRADIUS and Chillispot web-based management software

RUN_DEPENDS=    radiusd:${PORTSDIR}/net/freeradius-mysql

WRKSRC=     ${WRKDIR}/${PORTNAME}-intl
NO_BUILD=   yes
USE_MYSQL=  yes
USE_PHP=    mysql session xml
WANT_PHP_WEB=   yes

do-install:
    @${MKDIR} ${WWWDIR}
    @cd ${WRKSRC} && \
    ${FIND} . -type d -exec ${MKDIR} ${WWWDIR}/{} \; \
        -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
    @cd ${WRKSRC} && \
        ${FIND} . \! -type d -exec ${INSTALL_DATA} {} ${WWWDIR}/{} \; \
            -exec ${CHOWN} ${WWWOWN}:${WWWGRP} ${WWWDIR}/{} \;
.include <bsd.port.mk>