2009-04-13 10:12:02 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2009/04/13 14:12:02 steven Exp $
|
2005-05-21 05:37:35 -04:00
|
|
|
|
2008-11-05 15:38:50 -05:00
|
|
|
COMMENT= firewall GUI
|
2009-04-13 10:12:02 -04:00
|
|
|
DISTNAME= fwbuilder-3.0.4
|
2008-11-05 15:38:50 -05:00
|
|
|
CATEGORIES= net security
|
2005-05-21 05:37:35 -04:00
|
|
|
|
2008-11-05 15:38:50 -05:00
|
|
|
HOMEPAGE= http://www.fwbuilder.org/
|
|
|
|
|
|
|
|
MAINTAINER= Vadim Zhukov <persgray@gmail.com>
|
|
|
|
|
|
|
|
# GPL v2
|
2005-05-21 05:37:35 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
2008-11-05 15:38:50 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fwbuilder/}
|
|
|
|
|
|
|
|
SHARE= share/fwbuilder
|
2007-01-29 06:56:13 -05:00
|
|
|
SUBST_VARS= SHARE
|
|
|
|
|
2008-11-05 15:38:50 -05:00
|
|
|
FLAVORS= debug
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=--with-docdir=${TRUEPREFIX}/share/doc/fwbuilder \
|
|
|
|
--with-templatedir=${TRUEPREFIX}/share/fwbuilder \
|
|
|
|
--with-qtdir=${MODQT_QTDIR} \
|
|
|
|
QMAKE=${MODQT_QTDIR}/bin/qmake
|
2005-05-21 05:37:35 -04:00
|
|
|
|
2008-11-05 15:38:50 -05:00
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
|
|
CONFIGURE_ARGS+=--enable-debug
|
|
|
|
COPTS= -g
|
|
|
|
.endif
|
|
|
|
|
|
|
|
MODULES= x11/qt4
|
2008-01-04 12:48:33 -05:00
|
|
|
DESTDIRNAME= INSTALL_ROOT
|
2008-12-05 16:50:57 -05:00
|
|
|
LIB_DEPENDS= fwcompiler.>=11,fwbuilder.>=11::security/libfwbuilder \
|
2008-11-05 15:38:50 -05:00
|
|
|
QtGui,QtNetwork::x11/qt4
|
|
|
|
|
2006-04-17 10:46:08 -04:00
|
|
|
NO_REGRESS= Yes
|
2006-11-13 07:51:14 -05:00
|
|
|
USE_X11= Yes
|
2005-05-21 05:37:35 -04:00
|
|
|
|
2009-03-12 04:30:53 -04:00
|
|
|
WANTLIB += ICE SM X11 Xext Xi Xinerama Xrandr Xrender c fontconfig
|
|
|
|
WANTLIB += freetype glib-2.0 gthread-2.0 iconv intl m netsnmp
|
|
|
|
WANTLIB += png pthread stdc++ util xml2 xslt z
|
2006-10-09 06:33:01 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/*
|
2008-11-05 15:38:50 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/64x64/apps
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/16x16/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/gui/Icons/firewall_64.png \
|
|
|
|
${PREFIX}/share/icons/hicolor/64x64/apps/fwbuilder.png
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/src/gui/Icons/firewall_16.png \
|
|
|
|
${PREFIX}/share/icons/hicolor/16x16/apps/fwbuilder.png
|
2006-10-09 06:33:01 -04:00
|
|
|
|
2005-05-21 05:37:35 -04:00
|
|
|
.include <bsd.port.mk>
|