1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/nmap/Makefile
Foxfair Hu d8a8887c96 PR: 53933
Submitted by:	maintainer
Reviewed by:
Approved by:
Obtained from:
MFC after:
1. Upgrade Nmap to 3.30, which released at Jun 29, 2003. Major enchancement is
   OS fingerprints update. The fingerprint DB now contains almost 1000
   fingerprints.

   See ChangeLog at this link:

	http://lists.insecure.org/lists/nmap-hackers/2003/Apr-Jun/0016.html

2. Renamed the patch files to be more descriptive.
2003-07-01 03:38:04 +00:00

43 lines
900 B
Makefile

# ex:ts=8
# Ports collection makefile for: nmap
# Date created: Tue Aug 04, 1998
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME?= nmap
PORTVERSION= 3.30
CATEGORIES= security ipv6
MASTER_SITES= http://download.insecure.org/nmap/dist/
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
MAINTAINER= dominic.marks@btinternet.com
COMMENT?= Port scanning utility for large networks
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-localdirs
USE_BZIP2= yes
MAN1?= nmap.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300004
CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
.endif
CONFIGURE_TARGET= -build=${ARCH}-portbld-freebsd${OSREL}
.if ${PORTNAME} == "nmap"
CONFIGURE_ARGS+= --without-nmapfe
.endif
ALL_TARGET?= nmap
INSTALL_TARGET?= install-nmap
.if !target(post-install) && (${PORTNAME} == "nmap")
post-install:
@strip ${PREFIX}/bin/nmap
.endif
.include <bsd.port.post.mk>