openbsd-ports/security/libfwbuilder/Makefile
2010-08-31 12:25:30 +00:00

58 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.15 2010/08/31 12:25:30 jasper Exp $
COMMENT= libraries for fwbuilder
DISTNAME= libfwbuilder-4.0.1
CATEGORIES= net security
SHARED_LIBS= fwbuilder 14.0 \
fwcompiler 14.0
HOMEPAGE= http://www.fwbuilder.org/
MAINTAINER= Vadim Zhukov <persgray@gmail.com>
# GPLv2+
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= m netsnmp stdc++ xml2 xslt z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fwbuilder/}
MODULES= x11/qt4 converters/libiconv
LIB_DEPENDS+= ::textproc/libxslt \
::textproc/libxml \
::net/net-snmp
AUTOMAKE_VERSION = 1.9 # XXX should be 1.10
AUTOCONF_VERSION = 2.63
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
CONFIGURE_ARGS += --with-docdir=${TRUEPREFIX}/share/doc/libfwbuilder \
--with-templatedir=${TRUEPREFIX}/share/libfwbuilder \
--with-qtdir=${MODQT_QTDIR} \
--with-qmake=qmake4
MAKE_ENV += QMAKE=${MODQT_QTDIR}/bin/qmake \
CXXFLAGS="${CXXFLAGS}"
REGRESS_TARGET= tests
MAKE_FLAGS= LIBfwbuilder_VERSION=${LIBfwbuilder_VERSION} \
LIBfwcompiler_VERSION=${LIBfwcompiler_VERSION}
DESTDIRNAME= INSTALL_ROOT
post-patch:
cd ${WRKSRC}; \
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
sh autogen.sh
.include <bsd.port.mk>