32 lines
875 B
Makefile
32 lines
875 B
Makefile
# $OpenBSD: Makefile,v 1.30 2011/11/04 08:43:32 jasper Exp $
|
|
|
|
COMMENT= network security scanner
|
|
DISTNAME= nessus-core-${V}
|
|
REVISION= 10
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
WANTLIB += c crypto hosts_gatherer m nessus pcap rpcsvc ssl util nasl>=4
|
|
|
|
LIB_DEPENDS= security/nessus/libnasl
|
|
BUILD_DEPENDS= devel/bison
|
|
USE_GROFF = Yes
|
|
|
|
.if empty(FLAVOR:L:Mno_x11)
|
|
MODULES= devel/gettext
|
|
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
|
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 gthread-2.0
|
|
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
|
|
WANTLIB += pthread pthread-stubs xcb xcb-render z
|
|
WANTLIB += GL xcb-shm
|
|
LIB_DEPENDS+= x11/gtk+2
|
|
CONFIGURE_ARGS+=--enable-gtk
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-gtk
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|