freebsd-ports/security/fwbuilder/Makefile
Cy Schubert 02f6070eb4 Update 4.2.1 --> 4.2.2. This is a bugfix release.
Notified by:	Vadim Kurland <vadim@netcitadel.com> (Fwbuilder upline)
2011-05-12 05:40:11 +00:00

97 lines
2.3 KiB
Makefile

# New ports collection makefile for: fwbuilder
# Date Created: 3 Feb 2001
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= fwbuilder
DISTVERSION= 4.2.2
PORTVERSION= ${DISTVERSION}
CATEGORIES= security
BUILD= 3541
.if defined(DEVEL)
MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-4.0/build-${BUILD}/
PKGNAMESUFFIX= -devel
PORTVERSION= ${DISTVERSION}.b${BUILD}
.else
MASTER_SITES= SF/${PORTNAME}/Current_Packages/${PORTVERSION}
DISTVERSIONSUFFIX= .${BUILD}
.endif
MAINTAINER= cy@FreeBSD.org
COMMENT= Firewall Builder GUI and policy compilers
.if defined(DEVEL)
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-[23].* \
libfwbuilder-[23].* libfwbuilder-devel-[23].*
.else
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-* \
libfwbuilder-[23].* libfwbuilder-devel-*
.endif
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
netsnmp.20:${PORTSDIR}/net-mgmt/net-snmp
PLIST_SUB= BUILD_VERSION=${DISTVERSION}.${BUILD}
USE_QT_VER= 4
QT_COMPONENTS= corelib \
gui \
iconengines \
inputmethods \
linguist_build \
moc_build \
rcc_build \
qmake_build \
svg \
uic_build \
xml
QTDIR?= ${QT_PREFIX}
USE_OPENSSL= yes
USE_GMAKE= yes
USE_AUTOTOOLS= autoconf aclocal libtool
CONFIGURE_SCRIPT= autogen.sh
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}
MAKE_ARGS+= QTDIR="${QTDIR}" \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
USE_LDCONFIG= yes
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
MAN1= fwbuilder.1 \
fwbedit.1 \
fwb_iosacl.1 \
fwb_ipt.1 \
fwb_ipf.1 \
fwb_ipfw.1 \
fwb_pix.1 \
fwb_pf.1
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800107
MAKE_ENV+= CCACHE_DISABLE=yes
.endif
.if ${OSVERSION} > 900007
BROKEN= fails to build with new utmpx
.endif
post-install:
@${STRIP_CMD} ${PREFIX}/bin/fwbuilder
@${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.
.if defined(NOPORTDOCS)
BROKEN= NOPORTDOCS is incomplete in this port
.endif
.include <bsd.port.post.mk>