1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/net-mgmt/chillispot/Makefile
Pav Lucistnik 7f65a9bf28 - Update Apache dependencies
PR:		ports/91443
Submitted by:	Sevan Janiyan <venture37@hotmail.com> (maintainer)
2006-01-10 12:40:06 +00:00

61 lines
1.6 KiB
Makefile

# New ports collection makefile for: Chillispot
# Date created: 19 October 2005
# Whom: Sevan Janiyan <venture37@geeklan.co.uk>
#
# $FreeBSD$
#
PORTNAME= chillispot
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= http://www.chillispot.org/download/ \
http://www.geeklan.co.uk/files/ \
http://www.venture37.com/files/
MAINTAINER= venture37@geeklan.co.uk
COMMENT= Wireless LAN Access Point Controller
GNU_CONFIGURE= yes
USE_GETOPT_LONG=yes
CONFIGURE_TARGET=-build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS=-sysconfdir=${PREFIX}/etc
MAN8= chilli.8
OPTIONS= RAW "Latest Release Of Apache & mySQL" Off \
MATURE "Stable Releases of Apache & mySQL" Off \
FREE "freeRADIUS" Off \
OPENR "openradius" Off
.include <bsd.port.pre.mk>
.if defined(WITH_RAW)
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache20 \
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql50-server
.endif
.if defined(WITH_MATURE)
RUN_DEPENDS+= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache13 \
${LOCALBASE}/libexec/mysqld:${PORTSDIR}/databases/mysql41-server
.endif
.if defined(WITH_FREE)
RUN_DEPENDS+= radiusd:${PORTSDIR}/net/freeradius
.endif
.if defined(WITH_OPENR)
RUN_DEPENDS+= radiusd:${PORTSDIR}/net/openradius
.endif
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/doc/chilli.conf ${DATADIR}/chilli.sample
${INSTALL_MAN} ${WRKSRC}/doc/dictionary.chillispot ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/doc/freeradius.users ${DATADIR}
${INSTALL_MAN} ${WRKSRC}/doc/hotspotlogin.cgi ${DATADIR}
.endif
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>