aboutsummaryrefslogtreecommitdiffstats
path: root/security/fwbuilder2/Makefile
blob: 2f16ff7fc6e80f5de91a08af71308d54891f7c65 (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
47
48
49
50
51
52
53
54
55
# New ports collection makefile for:    fwbuilder
# Date Created:             3 Feb 2001
# Whom:                 Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#

PORTNAME=   fwbuilder
PORTVERSION=    2.1.13
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}/fwbuilder/
MASTER_SITE_SUBDIR= fwbuilder

MAINTAINER= cy@FreeBSD.org
COMMENT=    Firewall Builder GUI and policy compilers

BUILD_DEPENDS=  qmake:${PORTSDIR}/devel/qmake
LIB_DEPENDS=    fwbuilder.7:${PORTSDIR}/security/libfwbuilder

BUILD_VERSION=  21
PLIST_SUB=  BUILD_VERSION=${BUILD_VERSION}
USE_QT_VER= 3

QTDIR?=     ${QT_PREFIX}

USE_OPENSSL=    yes
USE_GETOPT_LONG=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
CONFIGURE_ARGS+=    --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR}
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAKE_ARGS+= QTDIR="${QTDIR}" \
        QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG=   yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"

MAN1=       fwbuilder.1 \
        fwblookup.1 \
        fwbedit.1 \
        fwb_ipt.1 \
        fwb_ipf.1 \
        fwb_ipfw.1 \
        fwb_pf.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     "Does not build on 4.X (requires gcc 3.4 which itself does not build under 4.X"
.endif

.include <bsd.port.post.mk>