241b722760
Add $OpenBSD$ to p5-SNMP-Info/Makefile (ok kili@, simon@)
56 lines
1.2 KiB
Makefile
56 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.72 2007/09/15 22:36:56 merdely Exp $
|
|
|
|
COMMENT= scan ports and fingerprint stack of network hosts
|
|
|
|
DISTNAME= nmap-4.20
|
|
CATEGORIES= net security
|
|
MASTER_SITES= ${HOMEPAGE}dist/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
HOMEPAGE= http://www.insecure.org/nmap/
|
|
|
|
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c crypto m pcap ssl stdc++
|
|
|
|
USE_GMAKE= yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS= --with-libpcap=/usr \
|
|
--with-openssl=/usr \
|
|
--with-libpcre=${LOCALBASE} \
|
|
--with-libdnet=${LOCALBASE}
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} \
|
|
${WRKSRC}/nbase \
|
|
${WRKSRC}/nsock/src
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
LIB_DEPENDS+= pcre::devel/pcre \
|
|
dnet::net/libdnet
|
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
ALL_TARGET= nmap
|
|
CONFIGURE_ARGS+=--without-nmapfe
|
|
.else
|
|
LIB_DEPENDS+= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
|
|
|
|
USE_X11= Yes
|
|
ALL_TARGET= nmap nmapfe/nmapfe
|
|
WANTLIB+= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
|
Xrender expat fontconfig freetype z \
|
|
atk-1.0 glib-2.0 gmodule-2.0 gobject-2.0 glitz png \
|
|
pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo
|
|
MODULES= devel/gettext
|
|
.endif
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|