freebsd-ports/security/fwbuilder-devel/Makefile
Cy Schubert 2b484df7b7 Fix configure brokenness.
Submitted by:	gahr
Approved by:	portsmgr (pav)
2008-09-19 00:45:59 +00:00

59 lines
1.4 KiB
Makefile

# New ports collection makefile for: fwbuilder
# Date Created: 3 Feb 2001
# Whom: Roman Shterenzon <roman@xpert.com>
#
# $FreeBSD$
#
PORTNAME= fwbuilder
PORTVERSION= 3.0.0
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-qt4:${PORTSDIR}/devel/qmake4
LIB_DEPENDS= fwbuilder.8:${PORTSDIR}/security/libfwbuilder
PLIST_SUB= BUILD_VERSION=${PORTVERSION}
USE_QT_VER= 4
QTDIR?= ${QT_PREFIX}
USE_OPENSSL= 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}
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>
post-install:
@${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>