2001-03-21 07:51:00 +01:00
|
|
|
# New ports collection makefile for: fwbuilder
|
|
|
|
# Date Created: 3 Feb 2001
|
|
|
|
# Whom: Roman Shterenzon <roman@xpert.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fwbuilder
|
2011-05-12 07:40:11 +02:00
|
|
|
DISTVERSION= 4.2.2
|
2010-05-05 05:38:03 +02:00
|
|
|
PORTVERSION= ${DISTVERSION}
|
2001-03-21 07:51:00 +01:00
|
|
|
CATEGORIES= security
|
2011-05-12 07:40:11 +02:00
|
|
|
BUILD= 3541
|
2011-05-03 05:14:39 +02:00
|
|
|
.if defined(DEVEL)
|
2010-05-05 05:38:03 +02:00
|
|
|
MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-4.0/build-${BUILD}/
|
|
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
PORTVERSION= ${DISTVERSION}.b${BUILD}
|
2008-11-25 19:59:19 +01:00
|
|
|
.else
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Current_Packages/${PORTVERSION}
|
2011-05-03 05:14:39 +02:00
|
|
|
DISTVERSIONSUFFIX= .${BUILD}
|
2008-11-25 19:59:19 +01:00
|
|
|
.endif
|
2001-03-21 07:51:00 +01:00
|
|
|
|
2006-12-11 00:32:33 +01:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2003-05-21 19:12:04 +02:00
|
|
|
COMMENT= Firewall Builder GUI and policy compilers
|
2001-03-21 07:51:00 +01:00
|
|
|
|
2011-05-03 05:14:39 +02:00
|
|
|
.if defined(DEVEL)
|
|
|
|
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-[23].* \
|
|
|
|
libfwbuilder-[23].* libfwbuilder-devel-[23].*
|
2010-05-05 05:38:03 +02:00
|
|
|
.else
|
2011-05-03 05:14:39 +02:00
|
|
|
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-* \
|
|
|
|
libfwbuilder-[23].* libfwbuilder-devel-*
|
2010-05-05 05:38:03 +02:00
|
|
|
.endif
|
2011-05-03 05:14:39 +02:00
|
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
|
|
|
|
netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
|
2005-11-13 23:04:55 +01:00
|
|
|
|
2011-05-03 05:14:39 +02:00
|
|
|
PLIST_SUB= BUILD_VERSION=${DISTVERSION}.${BUILD}
|
2008-09-02 23:32:26 +02:00
|
|
|
USE_QT_VER= 4
|
2008-09-30 22:05:37 +02:00
|
|
|
QT_COMPONENTS= corelib \
|
|
|
|
gui \
|
|
|
|
iconengines \
|
|
|
|
inputmethods \
|
2009-05-25 04:08:18 +02:00
|
|
|
linguist_build \
|
2008-09-30 22:05:37 +02:00
|
|
|
moc_build \
|
2008-10-18 02:02:32 +02:00
|
|
|
rcc_build \
|
2008-09-30 22:05:37 +02:00
|
|
|
qmake_build \
|
|
|
|
svg \
|
|
|
|
uic_build \
|
|
|
|
xml
|
2004-10-14 08:42:13 +02:00
|
|
|
|
2007-02-13 01:16:29 +01:00
|
|
|
QTDIR?= ${QT_PREFIX}
|
2004-10-14 08:42:13 +02:00
|
|
|
|
|
|
|
USE_OPENSSL= yes
|
2001-03-21 07:51:00 +01:00
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf aclocal libtool
|
2010-05-05 05:38:03 +02:00
|
|
|
CONFIGURE_SCRIPT= autogen.sh
|
2004-05-25 21:28:24 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-10-14 08:42:13 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR} --with-qtdir=${QTDIR}
|
|
|
|
MAKE_ARGS+= QTDIR="${QTDIR}" \
|
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2006-12-11 03:13:36 +01:00
|
|
|
USE_LDCONFIG= yes
|
2004-01-18 15:19:22 +01:00
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
2003-05-21 19:12:04 +02:00
|
|
|
|
2004-10-14 08:42:13 +02:00
|
|
|
MAN1= fwbuilder.1 \
|
|
|
|
fwbedit.1 \
|
2008-05-23 20:05:59 +02:00
|
|
|
fwb_iosacl.1 \
|
2004-10-14 08:42:13 +02:00
|
|
|
fwb_ipt.1 \
|
|
|
|
fwb_ipf.1 \
|
|
|
|
fwb_ipfw.1 \
|
2008-05-23 20:05:59 +02:00
|
|
|
fwb_pix.1 \
|
2004-10-14 08:42:13 +02:00
|
|
|
fwb_pf.1
|
|
|
|
|
2007-10-03 14:19:22 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
2007-01-11 01:55:42 +01:00
|
|
|
.endif
|
|
|
|
|
2008-05-27 00:08:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2010-03-20 16:04:45 +01:00
|
|
|
|
2009-09-20 07:31:35 +02:00
|
|
|
.if ${OSVERSION} >= 800107
|
|
|
|
MAKE_ENV+= CCACHE_DISABLE=yes
|
|
|
|
.endif
|
|
|
|
|
2010-03-20 16:04:45 +01:00
|
|
|
.if ${OSVERSION} > 900007
|
|
|
|
BROKEN= fails to build with new utmpx
|
|
|
|
.endif
|
|
|
|
|
2008-09-03 19:15:03 +02:00
|
|
|
post-install:
|
2008-11-25 19:59:19 +01:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/fwbuilder
|
2008-09-03 19:15:03 +02:00
|
|
|
@${ECHO} If you are upgrading from a previous version of fwbuilder,
|
|
|
|
@${ECHO} please make sure to backup your fwbuilder database files
|
|
|
|
@${ECHO} prior to invoking fwbuilder for the first time.
|
|
|
|
|
2008-05-27 00:08:25 +02:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
BROKEN= NOPORTDOCS is incomplete in this port
|
|
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|