openbsd-ports/net/nmap/Makefile
aanriot 270c09686f update to 3.93.
from Okan Demirmen (maintainer);
ok niallo@
2005-09-27 09:53:37 +00:00

51 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.58 2005/09/27 09:53:37 aanriot Exp $
COMMENT= "scan ports and fingerprint stack of network hosts"
DISTNAME= nmap-3.93
CATEGORIES= net security
MASTER_SITES= ${HOMEPAGE}dist/
EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.insecure.org/nmap/
MAINTAINER= Okan Demirmen <okan@demirmen.com>
# 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+= gtk.1.2,gdk.1.2::x11/gtk+
USE_X11= Yes
ALL_TARGET= nmap nmapfe/nmapfe
WANTLIB+= X11 Xext Xi glib gmodule iconv intl
.endif
NO_REGRESS= Yes
.include <bsd.port.mk>