123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- # $OpenBSD: Makefile,v 1.37 2017/04/10 11:46:33 sthen Exp $
- COMMENT = firewall GUI
- DISTNAME = fwbuilder-5.1.0.3599
- CATEGORIES = net security
- REVISION = 3
- HOMEPAGE = http://www.fwbuilder.org/
- # GPLv2+ mostly, some code under BSD-like
- PERMIT_PACKAGE_CDROM = Yes
- MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=fwbuilder/}
- # .orig produces too much spam in tests directories
- PATCHORIG = .ports.orig
- AUTOMAKE_VERSION = 1.10
- AUTOCONF_VERSION = 2.63
- CONFIGURE_STYLE = gnu
- BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
- ${MODGNU_AUTOMAKE_DEPENDS} \
- devel/cppunit
- RUN_DEPENDS = devel/desktop-file-utils \
- x11/gtk+3,-guic
- COPTS = ${DEBUG}
- CONFIGURE_ARGS += --with-docdir=${TRUEPREFIX}/share/doc/fwbuilder \
- --with-templatedir=${TRUEPREFIX}/share/fwbuilder \
- --with-qtdir=${MODQT_QTDIR} \
- --with-qmake=qmake4 \
- --without-distcc
- MAKE_ENV += QMAKE=${MODQT_QTDIR}/bin/qmake \
- CXXFLAGS="${CXXFLAGS}" \
- COPTS="${COPTS}" \
- LDFLAGS="${LDFLAGS}"
- USE_LIBTOOL = gnu
- MODULES = x11/qt4
- DESTDIRNAME = INSTALL_ROOT
- LIB_DEPENDS = converters/libiconv \
- net/net-snmp \
- textproc/libxml \
- textproc/libxslt \
- x11/qt4
-
- TEST_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
- TEST_TARGET = tests
- TEST_ENV += COPTS="${COPTS}"
- TEST_IS_INTERACTIVE = X11
- WANTLIB += c crypto iconv m netsnmp QtGui QtNetwork
- WANTLIB += lzma pthread ${LIBCXX} util xml2 xslt z
- WANTLIB += ICE SM X11 Xext Xi Xinerama Xrender fontconfig freetype
- FAKE_FLAGS = INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
- INSTALL_FILE="${INSTALL_DATA}"
- post-patch:
- cd ${WRKSRC}; \
- AUTOCONF_VERSION=${AUTOCONF_VERSION} \
- AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
- sh autogen.sh
- post-install:
- cd ${WRKSRC}/src/res/Icons && find . -type d -mindepth 1 -maxdepth 1 | \
- while read D; do \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/$$D; \
- ${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/$$D/apps; \
- done
- cd ${WRKSRC}/src/res/Icons && find . -name '*.png' | \
- while read F; do \
- ${INSTALL_DATA} $$F \
- ${PREFIX}/share/icons/hicolor/`dirname $$F`/apps/`basename $$F`; \
- done
- .include <bsd.port.mk>
|