28 lines
743 B
Makefile
28 lines
743 B
Makefile
# $OpenBSD: Makefile,v 1.1 2005/05/16 16:07:43 sturm Exp $
|
|
|
|
COMMENT= "network security scanner"
|
|
|
|
DISTNAME= nessus-core-${VERSION}
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
WANTLIB= c crypto m pcap ssl util hosts_gatherer nessus
|
|
|
|
LIB_DEPENDS= nasl.4::security/nessus/libnasl
|
|
BUILD_DEPENDS= :bison-*:devel/bison
|
|
|
|
.if empty(FLAVOR:L:Mno_x11)
|
|
MODULES= devel/gettext
|
|
WANTLIB+= X11 Xcursor Xext Xft Xinerama Xrender atk-1.0.0.0 fontconfig \
|
|
freetype glib-2.0.0.0 gmodule-2.0.0.0 gobject-2.0.0.0 \
|
|
pango-1.0.0.0 pangox-1.0.0.0 pangoxft-1.0.0.0
|
|
BUILD_DEPENDS+= ::devel/pkgconfig
|
|
LIB_DEPENDS+= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
|
|
CONFIGURE_ARGS+=--enable-gtk
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-gtk
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|