summaryrefslogtreecommitdiff
path: root/net-mgmt/ezradius/Makefile
blob: 9e9c94bbfe8cf3add3365ea96ed629fc17c5a419 (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
# Created by: Lucio Costa <lucio@zetasolucoes.com.br>
# $FreeBSD$

PORTNAME=	ezradius
PORTVERSION=	0.2.1.2
PORTREVISION=	1
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/freeradius2

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

NO_STAGE=	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>