openbsd-ports/security/libfwbuilder/Makefile
sthen ffe3bb5efe update libfwbuilder/fwbuilder to 4.1.2, from maintainer Vadim Zhukov with
a small tweak from me to tighten the lib dependency on libfwbuilder.
2010-10-11 20:19:11 +00:00

61 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2010/10/11 20:19:11 sthen Exp $
COMMENT= libraries for fwbuilder
DISTNAME= libfwbuilder-4.1.2
CATEGORIES= net security
SHARED_LIBS= fwbuilder 15.0 \
fwcompiler 15.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.10
AUTOCONF_VERSION = 2.63
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
USE_LIBTOOL = gnu # wants libtoolize
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 \
--without-distcc
MAKE_ENV += QMAKE=${MODQT_QTDIR}/bin/qmake \
CXXFLAGS="${CXXFLAGS}" \
CCACHE=/nonexistent
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>