2011-04-12 08:38:08 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2011/04/12 12:38:08 sthen Exp $
|
2005-05-21 05:35:19 -04:00
|
|
|
|
2007-09-15 19:29:57 -04:00
|
|
|
COMMENT= libraries for fwbuilder
|
2011-04-12 08:38:08 -04:00
|
|
|
DISTNAME= libfwbuilder-4.1.3
|
2005-12-25 04:43:20 -05:00
|
|
|
CATEGORIES= net security
|
2011-04-12 08:38:08 -04:00
|
|
|
SHARED_LIBS= fwbuilder 16.0 \
|
|
|
|
fwcompiler 16.0
|
2005-12-25 04:43:20 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.fwbuilder.org/
|
2005-05-21 05:35:19 -04:00
|
|
|
|
2008-11-05 15:37:48 -05:00
|
|
|
MAINTAINER= Vadim Zhukov <persgray@gmail.com>
|
|
|
|
|
2010-07-14 04:46:35 -04:00
|
|
|
# GPLv2+
|
2005-05-21 05:35:19 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2011-04-12 08:38:08 -04:00
|
|
|
WANTLIB= crypto m netsnmp stdc++ xml2 xslt z
|
2005-12-25 04:43:20 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fwbuilder/}
|
2005-05-21 05:35:19 -04:00
|
|
|
|
2010-07-14 04:46:35 -04:00
|
|
|
MODULES= x11/qt4 converters/libiconv
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS+= textproc/libxslt \
|
|
|
|
textproc/libxml \
|
|
|
|
net/net-snmp
|
2010-07-14 04:46:35 -04:00
|
|
|
|
2010-10-11 16:19:11 -04:00
|
|
|
AUTOMAKE_VERSION = 1.10
|
2010-07-14 04:46:35 -04:00
|
|
|
AUTOCONF_VERSION = 2.63
|
|
|
|
|
2010-08-31 08:25:30 -04:00
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
2010-07-14 04:46:35 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
|
|
|
|
BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
|
|
|
|
${MODGNU_AUTOMAKE_DEPENDS}
|
2010-10-28 06:03:27 -04:00
|
|
|
# wants libtoolize but does not use libtool
|
2010-11-20 12:22:40 -05:00
|
|
|
BUILD_DEPENDS +=devel/libtool
|
2005-05-21 05:35:19 -04:00
|
|
|
|
2010-07-14 04:46:35 -04:00
|
|
|
CONFIGURE_ARGS += --with-docdir=${TRUEPREFIX}/share/doc/libfwbuilder \
|
|
|
|
--with-templatedir=${TRUEPREFIX}/share/libfwbuilder \
|
|
|
|
--with-qtdir=${MODQT_QTDIR} \
|
2010-10-11 16:19:11 -04:00
|
|
|
--with-qmake=qmake4 \
|
|
|
|
--without-distcc
|
2010-07-14 04:46:35 -04:00
|
|
|
MAKE_ENV += QMAKE=${MODQT_QTDIR}/bin/qmake \
|
2010-10-11 16:19:11 -04:00
|
|
|
CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
CCACHE=/nonexistent
|
2005-12-25 04:43:20 -05:00
|
|
|
|
2010-07-14 04:46:35 -04:00
|
|
|
REGRESS_TARGET= tests
|
2005-12-25 04:43:20 -05:00
|
|
|
|
2005-12-28 17:52:30 -05:00
|
|
|
MAKE_FLAGS= LIBfwbuilder_VERSION=${LIBfwbuilder_VERSION} \
|
|
|
|
LIBfwcompiler_VERSION=${LIBfwcompiler_VERSION}
|
2008-01-04 12:48:33 -05:00
|
|
|
DESTDIRNAME= INSTALL_ROOT
|
2010-07-14 04:46:35 -04:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
AUTOCONF_VERSION=${AUTOCONF_VERSION} \
|
|
|
|
AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
|
|
|
|
sh autogen.sh
|
2005-05-21 05:35:19 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|