openbsd-ports/security/nessus/core/Makefile

30 lines
798 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.7 2006/01/20 20:47:25 steven Exp $
2005-05-16 12:07:43 -04:00
COMMENT= "network security scanner"
DISTNAME= nessus-core-${VERSION}
PKGNAME= ${DISTNAME}p3
2005-05-16 12:07:43 -04:00
FLAVORS= no_x11
FLAVOR?=
2005-11-15 13:59:08 -05:00
WANTLIB= c crypto m pcap rpcsvc ssl util hosts_gatherer nessus
2005-05-16 12:07:43 -04:00
LIB_DEPENDS= nasl.4::security/nessus/libnasl
BUILD_DEPENDS= :bison-*:devel/bison
.if empty(FLAVOR:L:Mno_x11)
USE_X11= Yes
2005-05-16 12:07:43 -04:00
MODULES= devel/gettext
WANTLIB+= X11 Xext Xft 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 pangoft2-1.0.0.0
2005-11-15 13:59:08 -05:00
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
2005-05-16 12:07:43 -04:00
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>