1999-02-17 11:43:23 +00:00
|
|
|
# ex:ts=8
|
1998-08-04 17:59:51 +00:00
|
|
|
# Ports collection makefile for: nmap
|
1999-02-11 13:57:27 +00:00
|
|
|
# Version required: 1.51
|
1998-08-04 17:59:51 +00:00
|
|
|
# Date created: Tue Aug 04, 1998
|
|
|
|
# Whom: David O'Brien (obrien@NUXI.com)
|
|
|
|
#
|
1999-02-17 11:43:23 +00:00
|
|
|
# $Id: Makefile,v 1.13 1999/02/11 13:57:27 flathill Exp $
|
1998-08-04 17:59:51 +00:00
|
|
|
#
|
|
|
|
|
1999-02-17 11:43:23 +00:00
|
|
|
DISTNAME= nmap-2.08
|
1998-08-04 18:01:31 +00:00
|
|
|
CATEGORIES= security net
|
1999-02-08 11:58:17 +00:00
|
|
|
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
|
1998-12-15 11:18:32 +00:00
|
|
|
ftp://relay.nuxi.com/pub/misc/
|
|
|
|
EXTRACT_SUFX= .tgz
|
1998-08-04 17:59:51 +00:00
|
|
|
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
|
1998-12-26 22:05:56 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1998-08-04 17:59:51 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1998-12-15 11:18:32 +00:00
|
|
|
CONFIGURE_ARGS= --libdir=${PREFIX}/share/misc
|
|
|
|
OSVERSION!= sysctl -n kern.osreldate
|
|
|
|
.if ${OSVERSION} < 300004
|
|
|
|
CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
|
|
|
|
.endif
|
1998-08-04 17:59:51 +00:00
|
|
|
MAN1= nmap.1
|
|
|
|
|
1998-08-20 22:06:00 +00:00
|
|
|
post-extract:
|
|
|
|
@${RM} -rf ${WRKSRC}/libpcap*
|
|
|
|
|
1998-08-04 17:59:51 +00:00
|
|
|
post-install:
|
|
|
|
@strip ${PREFIX}/bin/nmap
|
|
|
|
|
1998-12-26 22:05:56 +00:00
|
|
|
.include <bsd.port.post.mk>
|