aboutsummaryrefslogtreecommitdiffstats
path: root/security/nmap/Makefile
blob: b29370096aa8d31bcd9bcddff6f1dac1652018ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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.00
CATEGORIES= security
MASTER_SITES=   http://download.insecure.org/nmap/dist/  \
        http://www.mobis.com/ajax/projects/
DISTNAME=   nmap-${PORTVERSION:S/.b/BETA/}
EXTRACT_SUFX=   .tgz

MAINTAINER= d.marks@student.umist.ac.uk
COMMENT=    Port scanning utility for large networks

.include <bsd.port.pre.mk>

GNU_CONFIGURE=  yes
.if ${OSVERSION} < 300004
CFLAGS+=    -DDLT_RAW=12 # for obsoleted <net/bpf.h>
.endif
MAN1?=      nmap.1

.if !target(post-install) && (${PORTNAME} == "nmap")
post-install:
    @strip ${PREFIX}/bin/nmap
.endif

.include <bsd.port.post.mk>