609fbca5a5
from new maintainer Vadim Zhukov <persgray at gmail> go ahead espie@
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2008/11/05 20:38:50 steven Exp $
|
|
|
|
COMMENT= firewall GUI
|
|
DISTNAME= fwbuilder-3.0.1
|
|
CATEGORIES= net security
|
|
|
|
HOMEPAGE= http://www.fwbuilder.org/
|
|
|
|
MAINTAINER= Vadim Zhukov <persgray@gmail.com>
|
|
|
|
# GPL v2
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fwbuilder/}
|
|
|
|
SHARE= share/fwbuilder
|
|
SUBST_VARS= SHARE
|
|
|
|
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
|
|
|
|
.if ${FLAVOR:L:Mdebug}
|
|
CONFIGURE_ARGS+=--enable-debug
|
|
COPTS= -g
|
|
.endif
|
|
|
|
MODULES= x11/qt4
|
|
DESTDIRNAME= INSTALL_ROOT
|
|
LIB_DEPENDS= fwcompiler.>=10,fwbuilder.>=10::security/libfwbuilder \
|
|
QtGui,QtNetwork::x11/qt4
|
|
|
|
NO_REGRESS= Yes
|
|
USE_X11= Yes
|
|
|
|
WANTLIB= ICE SM X11 Xext Xi Xinerama Xrandr Xrender \
|
|
c fontconfig freetype glib-2.0 gthread-2.0 iconv intl \
|
|
m netsnmp png pthread stdc++ util xml2 xslt z
|
|
|
|
post-install:
|
|
chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/*
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|