freebsd-ports/security/nmap/Makefile
David E. O'Brien d269cc662b upgrade to 2.08
1999-02-17 11:43:23 +00:00

35 lines
756 B
Makefile

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