aboutsummaryrefslogtreecommitdiffstats
path: root/net/nocatsplash/Makefile
blob: 6fb8583824d1938f76d8d2bad13d15b74d74848e (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
43
44
45
46
# New ports collection makefile for:    NoCatSplash
# Date created:         19 November 2003
# Whom:                 Bruce M Simpson <bms@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nocatsplash
PORTVERSION=    0.82
CATEGORIES= net
MASTER_SITES=   http://nocat.net/download/NoCatSplash/
DISTNAME=   NoCatSplash-nightly
EXTRACT_SUFX=   .tgz

MAINTAINER= bms@FreeBSD.org
COMMENT=    Open 802.11 Splash Screen

BUILD_DEPENDS= \
    ${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf
RUN_DEPENDS= \
    ${LOCALBASE}/sbin/pfctl:${PORTSDIR}/security/pf

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
IGNORE=     Requires 5.x or later for pf(4) firewall support
.endif

CONFLICTS=  nocatauth-server-*

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  glib12

CONFIGURE_ARGS+=    --disable-dependency-tracking
CONFIGURE_ARGS+=    --disable-glibtest
CONFIGURE_ARGS+=    --with-firewall=pfctl
CONFIGURE_ARGS+=    --with-ghttpd
.if defined(AUTHMODE)
CONFIGURE_ARGS+=    --with-mode=${AUTHMODE}
.endif
.if defined(DOCROOT)
CONFIGURE_ARGS+=    --with-docroot=${DOCROOT}
.endif

.include <bsd.port.post.mk>