1999-02-17 12:43:23 +01:00
|
|
|
# ex:ts=8
|
1998-08-04 19:59:51 +02:00
|
|
|
# Ports collection makefile for: nmap
|
|
|
|
# Date created: Tue Aug 04, 1998
|
|
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1998-08-04 19:59:51 +02:00
|
|
|
#
|
|
|
|
|
2001-05-28 02:18:04 +02:00
|
|
|
PORTNAME?= nmap
|
2003-04-22 02:06:04 +02:00
|
|
|
PORTVERSION= 3.25
|
2003-04-11 12:00:50 +02:00
|
|
|
CATEGORIES= security ipv6
|
|
|
|
MASTER_SITES= http://download.insecure.org/nmap/dist/
|
2001-05-28 03:01:19 +02:00
|
|
|
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
|
2002-05-27 19:36:35 +02:00
|
|
|
|
2002-11-02 05:33:43 +01:00
|
|
|
MAINTAINER= d.marks@student.umist.ac.uk
|
2003-03-07 01:16:25 +01:00
|
|
|
COMMENT?= Port scanning utility for large networks
|
1998-08-04 19:59:51 +02:00
|
|
|
|
2003-04-11 12:00:50 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
MAN1?= nmap.1
|
|
|
|
|
1998-12-26 23:05:56 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-12-15 12:18:32 +01:00
|
|
|
.if ${OSVERSION} < 300004
|
|
|
|
CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
|
|
|
|
.endif
|
2003-04-11 12:00:50 +02:00
|
|
|
|
|
|
|
CONFIGURE_TARGET= -build=${ARCH}-portbld-freebsd${OSREL}
|
|
|
|
.if ${PORTNAME} == "nmap"
|
|
|
|
CONFIGURE_ARGS+= --without-nmapfe
|
|
|
|
.endif
|
|
|
|
ALL_TARGET?= nmap
|
|
|
|
INSTALL_TARGET?= install-nmap
|
1998-08-04 19:59:51 +02:00
|
|
|
|
2002-02-23 07:03:24 +01:00
|
|
|
.if !target(post-install) && (${PORTNAME} == "nmap")
|
1998-08-04 19:59:51 +02:00
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/nmap
|
2001-05-28 02:18:04 +02:00
|
|
|
.endif
|
1998-08-04 19:59:51 +02:00
|
|
|
|
1998-12-26 23:05:56 +01:00
|
|
|
.include <bsd.port.post.mk>
|