freebsd-ports/security/nmap/Makefile

42 lines
863 B
Makefile
Raw Normal View History

1999-02-17 12:43:23 +01:00
# ex:ts=8
# 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$
#
PORTNAME?= nmap
PORTVERSION= 3.25
CATEGORIES= security ipv6
MASTER_SITES= http://download.insecure.org/nmap/dist/
DISTNAME= nmap-${PORTVERSION:S/.b/BETA/}
MAINTAINER= d.marks@student.umist.ac.uk
COMMENT?= Port scanning utility for large networks
GNU_CONFIGURE= yes
USE_BZIP2= yes
MAN1?= nmap.1
.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
CONFIGURE_TARGET= -build=${ARCH}-portbld-freebsd${OSREL}
.if ${PORTNAME} == "nmap"
CONFIGURE_ARGS+= --without-nmapfe
.endif
ALL_TARGET?= nmap
INSTALL_TARGET?= install-nmap
.if !target(post-install) && (${PORTNAME} == "nmap")
post-install:
@strip ${PREFIX}/bin/nmap
.endif
.include <bsd.port.post.mk>