mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
1dbf0287c0
the Porter's Handbook. :-)
36 lines
694 B
Makefile
36 lines
694 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= 2.53
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
|
|
ftp://nuxi.ucdavis.edu/pub/misc/ \
|
|
http://www.mobis.com/ajax/projects/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
#PATCH_SITES= http://www.mobis.com/ajax/projects/
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
GNU_CONFIGURE= yes
|
|
.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>
|