# New ports collection makefile for: ezradius # Date created: 2008-05-29 # Whom: Lucio Costa # # $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