2007-11-17 15:39:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.73 2007/11/17 20:39:03 steven Exp $
|
2001-04-12 11:59:15 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= scan ports and fingerprint stack of network hosts
|
1999-01-11 00:37:23 -05:00
|
|
|
|
2007-06-19 14:10:26 -04:00
|
|
|
DISTNAME= nmap-4.20
|
2007-11-17 15:39:02 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2000-04-02 00:55:56 -05:00
|
|
|
CATEGORIES= net security
|
2007-11-17 15:39:02 -05:00
|
|
|
|
2001-01-14 13:18:09 -05:00
|
|
|
MASTER_SITES= ${HOMEPAGE}dist/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2000-07-29 19:12:51 -04:00
|
|
|
HOMEPAGE= http://www.insecure.org/nmap/
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2006-12-17 09:22:46 -05:00
|
|
|
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
2005-01-29 15:15:32 -05:00
|
|
|
|
2002-08-11 16:50:54 -04:00
|
|
|
# GPL
|
2000-03-25 01:12:15 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-17 15:39:02 -05:00
|
|
|
|
2004-12-15 19:31:20 -05:00
|
|
|
WANTLIB= c crypto m pcap ssl stdc++
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2005-09-27 05:53:37 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2004-10-31 13:06:14 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --with-libpcap=/usr \
|
2005-09-27 05:53:37 -04:00
|
|
|
--with-openssl=/usr \
|
2004-10-31 13:06:14 -05:00
|
|
|
--with-libpcre=${LOCALBASE} \
|
2005-09-27 05:53:37 -04:00
|
|
|
--with-libdnet=${LOCALBASE}
|
2005-01-29 15:15:32 -05:00
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} \
|
|
|
|
${WRKSRC}/nbase \
|
|
|
|
${WRKSRC}/nsock/src
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2001-01-09 13:52:34 -05:00
|
|
|
FLAVORS= no_x11
|
2001-03-15 14:38:49 -05:00
|
|
|
FLAVOR?=
|
2001-01-09 11:10:16 -05:00
|
|
|
|
2005-09-27 05:53:37 -04:00
|
|
|
LIB_DEPENDS+= pcre::devel/pcre \
|
|
|
|
dnet::net/libdnet
|
2003-12-09 13:42:36 -05:00
|
|
|
|
2001-01-14 13:18:09 -05:00
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
|
|
ALL_TARGET= nmap
|
2003-12-12 00:11:47 -05:00
|
|
|
CONFIGURE_ARGS+=--without-nmapfe
|
2001-01-14 13:18:09 -05:00
|
|
|
.else
|
2006-09-18 07:59:59 -04:00
|
|
|
LIB_DEPENDS+= gdk_pixbuf-2.0,gdk-x11-2.0,gtk-x11-2.0::x11/gtk+2
|
2005-12-17 10:47:12 -05:00
|
|
|
|
2001-01-14 13:18:09 -05:00
|
|
|
USE_X11= Yes
|
2001-01-16 21:06:11 -05:00
|
|
|
ALL_TARGET= nmap nmapfe/nmapfe
|
2007-05-30 03:18:50 -04:00
|
|
|
WANTLIB+= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
|
2007-11-17 15:39:02 -05:00
|
|
|
Xcomposite Xdamage Xrender expat fontconfig freetype z \
|
2007-01-04 15:19:53 -05:00
|
|
|
atk-1.0 glib-2.0 gmodule-2.0 gobject-2.0 glitz png \
|
2006-09-18 07:59:59 -04:00
|
|
|
pango-1.0 pangoft2-1.0 pangocairo-1.0 cairo
|
2006-01-16 12:08:57 -05:00
|
|
|
MODULES= devel/gettext
|
2001-01-09 11:10:16 -05:00
|
|
|
.endif
|
|
|
|
|
2002-10-27 20:38:44 -05:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1999-01-11 00:37:23 -05:00
|
|
|
.include <bsd.port.mk>
|