blob: de171b1542a290491fbc3b67fbb98ca2b8ebdacc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.37 2013/06/03 10:05:54 wiz Exp $
DISTNAME= fwbuilder-4.1.3
PKGREVISION= 14
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fwbuilder/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fwbuilder.org/
COMMENT= Firewall Builder GUI
LICENSE= gnu-gpl-v2
CONFLICTS= fwbuilder-[0-9]*
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= aclocal autoconf automake gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --mandir=${P}
CONFIGURE_ARGS+= --without-distcc
#UNLIMIT_RESOURCES+= datasize
INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR}
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
SUBST_CLASSES+= fix-endl
SUBST_STAGE.fix-endl= pre-configure
SUBST_MESSAGE.fix-endl= Fixing QTextStream endl for Clang.
SUBST_FILES.fix-endl= src/iptlib/CompilerDriver_ipt_run.cpp
SUBST_FILES.fix-endl+= src/cisco_lib/CompilerDriver_iosacl_run.cpp
SUBST_FILES.fix-endl+= src/cisco_lib/CompilerDriver_pix_run.cpp
SUBST_FILES.fix-endl+= src/cisco_lib/CompilerDriver_procurve_acl_run.cpp
SUBST_SED.fix-endl= -e '/script <<.*endl/s/endl/"\n"/g'
.endif
pre-configure:
cd ${WRKSRC} && libtoolize -c -f -i && aclocal && autoconf
.include "../../security/libfwbuilder/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|