aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/coovachilli/Makefile
blob: 715e26b1bc014db0569a3e5a367460a812b935a2 (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
38
39
40
41
42
# New ports collection makefile for:    CoovaChilli
# Date created:     24 December 2006
# Whom:         Sevan Janiyan <venture37@geeklan.co.uk>
#
# $FreeBSD$
#

PORTNAME=   coovachilli
PORTVERSION=    1.0.12
PORTREVISION=   1
CATEGORIES= net-mgmt
MASTER_SITES=   http://ap.coova.org/chilli/ \
        http://www.geeklan.co.uk/files/ \
        http://www.venture37.com/files/
DISTNAME=   coova-chilli-${PORTVERSION}

MAINTAINER= venture37@geeklan.co.uk
COMMENT=    An access controller for wired & wireless clients

CONFLICTS=  chillispot-[0-9]*

MAN1=       chilli_query.1 chilli_radconfig.1 chilli_response.1
MAN5=       chilli.conf.5 chilli-radius.5
MAN8=       chilli.8

CONFIGURE_ARGS=-localstatedir=/var
GNU_CONFIGURE=  yes
USES=       perl5
USE_PERL5=  build
USE_LDCONFIG=   yes
USE_RC_SUBR=    coovachilli

post-install:
.if !defined(NOPORTEXAMPLES)
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_MAN} ${FILESDIR}/main.conf.sample ${EXAMPLESDIR}
    ${INSTALL_MAN} ${FILESDIR}/pf.conf.sample ${EXAMPLESDIR}
    ${INSTALL_MAN} ${FILESDIR}/ipfw-config.sample ${EXAMPLESDIR}
.endif
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>