2002-06-27 17:50:27 +02:00
|
|
|
# New ports collection makefile for: libfwbuilder
|
|
|
|
# Date Created: 27 May 2002
|
|
|
|
# Whom: Sergey Lyubka <devnull@asitatech.ie>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libfwbuilder
|
2008-04-06 04:45:13 +02:00
|
|
|
PORTVERSION= 2.1.17
|
2002-06-27 17:50:27 +02:00
|
|
|
CATEGORIES= security
|
2003-05-22 16:32:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= fwbuilder
|
2002-06-27 17:50:27 +02:00
|
|
|
|
2006-12-11 00:32:33 +01:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2003-02-21 14:28:59 +01:00
|
|
|
COMMENT= Firewall Builder API
|
2002-06-27 17:50:27 +02:00
|
|
|
|
2004-10-14 08:39:44 +02:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
|
|
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
|
2008-03-27 11:58:30 +01:00
|
|
|
netsnmp.16:${PORTSDIR}/net-mgmt/net-snmp
|
2004-10-14 08:39:44 +02:00
|
|
|
|
2006-12-11 00:32:33 +01:00
|
|
|
BUILD_VERSION= 21
|
|
|
|
PLIST_SUB= BUILD_VERSION=${BUILD_VERSION}
|
2004-10-14 08:39:44 +02:00
|
|
|
USE_QT_VER= 3
|
|
|
|
|
2007-02-13 01:16:29 +01:00
|
|
|
QTDIR?= ${QT_PREFIX}
|
2004-01-18 13:49:58 +01:00
|
|
|
|
2004-05-25 21:27:23 +02:00
|
|
|
USE_OPENSSL= yes
|
2002-06-27 17:50:27 +02:00
|
|
|
USE_GMAKE= yes
|
2004-05-25 21:27:23 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-12-11 03:12:47 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2004-10-14 08:39:44 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
|
|
|
CONFIGURE_ARGS+= --with-docdir=${DOCSDIR}
|
2005-11-13 23:04:34 +01:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2004-10-14 08:39:44 +02:00
|
|
|
MAKE_ARGS+= QTDIR="${QTDIR}" \
|
|
|
|
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2006-12-11 03:12:47 +01:00
|
|
|
USE_LDCONFIG= yes
|
2004-10-14 08:39:44 +02:00
|
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
|
|
|
|
post-install:
|
2006-12-11 00:32:33 +01:00
|
|
|
${RM} ${PREFIX}/lib/libfwbuilder.so.7.3
|
|
|
|
${RM} ${PREFIX}/lib/libfwcompiler.so.7.3
|
2002-06-27 17:50:27 +02:00
|
|
|
|
2008-01-20 19:11:20 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
2007-07-27 15:35:22 +02:00
|
|
|
.include <bsd.port.mk>
|