openbsd-ports/security/nessus/core/Makefile
2009-03-12 08:30:53 +00:00

30 lines
821 B
Makefile

# $OpenBSD: Makefile,v 1.20 2009/03/12 08:30:53 sthen Exp $
COMMENT= network security scanner
DISTNAME= nessus-core-${V}
PKGNAME= ${DISTNAME}p4
FLAVORS= no_x11
FLAVOR?=
WANTLIB += c crypto hosts_gatherer m nessus pcap rpcsvc ssl util
LIB_DEPENDS= nasl.>=4::security/nessus/libnasl
BUILD_DEPENDS= :bison-*:devel/bison
.if empty(FLAVOR:L:Mno_x11)
USE_X11= Yes
MODULES= devel/gettext
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png
WANTLIB += z
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2
CONFIGURE_ARGS+=--enable-gtk
.else
CONFIGURE_ARGS+=--disable-gtk
.endif
.include <bsd.port.mk>