blob: 6a6bf4d5d023c63bcb02b9c5dd7582e5bfbedabd (
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.38 2013/06/04 22:17:01 tron Exp $
DISTNAME= fwbuilder-4.1.3
PKGREVISION= 15
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"
|