2007-04-03 09:55:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2007/04/03 13:55:59 aanriot Exp $
|
2005-05-16 12:07:43 -04:00
|
|
|
|
|
|
|
COMMENT= "network security scanner"
|
2006-06-01 01:16:32 -04:00
|
|
|
DISTNAME= nessus-core-${V}
|
2007-04-03 09:55:22 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2005-05-16 12:07:43 -04:00
|
|
|
|
|
|
|
FLAVORS= no_x11
|
|
|
|
FLAVOR?=
|
|
|
|
|
2007-03-21 17:29:32 -04:00
|
|
|
WANTLIB= c crypto hosts_gatherer m nessus pcap rpcsvc ssl util
|
2005-05-16 12:07:43 -04:00
|
|
|
|
2006-08-03 19:55:10 -04:00
|
|
|
LIB_DEPENDS= nasl.>=4::security/nessus/libnasl
|
2006-06-01 01:16:32 -04:00
|
|
|
BUILD_DEPENDS= :bison-*:devel/bison
|
2005-05-16 12:07:43 -04:00
|
|
|
|
|
|
|
.if empty(FLAVOR:L:Mno_x11)
|
2006-01-20 15:47:25 -05:00
|
|
|
USE_X11= Yes
|
2006-06-01 01:16:32 -04:00
|
|
|
MODULES= devel/gettext
|
2007-02-13 06:55:01 -05:00
|
|
|
WANTLIB+= atk-1.0 cairo.>=4 fontconfig freetype glib-2.0 \
|
|
|
|
gmodule-2.0 gobject-2.0 pango-1.0 pangocairo-1.0 \
|
2007-03-21 17:29:32 -04:00
|
|
|
pangoft2-1.0 glitz png X11 Xext Xrender z
|
2006-09-18 07:59:59 -04:00
|
|
|
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
|
2005-05-16 12:07:43 -04:00
|
|
|
CONFIGURE_ARGS+=--enable-gtk
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-gtk
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|