aboutsummaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-05-28 00:18:04 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-05-28 00:18:04 +0000
commit214b4830262e4bad535825dd2a9bd48bebc84078 (patch)
tree0d4faac53d8aaed3fc8f2433a0c2bec9e361fc30 /security/nmap
parent6b2aa0a1a9b4c5e4a90d6fbf70201e1c7470de2e (diff)
downloadports-214b4830262e4bad535825dd2a9bd48bebc84078.tar.gz
ports-214b4830262e4bad535825dd2a9bd48bebc84078.zip
Notes
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index d7d8274076c3..7072bf4d86f0 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -6,7 +6,7 @@
# $FreeBSD$
#
-PORTNAME= nmap
+PORTNAME?= nmap
PORTVERSION= 2.54.b22
CATEGORIES= security
MASTER_SITES= http://www.insecure.org/nmap/dist/ \
@@ -27,10 +27,9 @@ CFLAGS+= -DDLT_RAW=12 # for obsoleted <net/bpf.h>
.endif
MAN1= nmap.1
-post-extract:
- @${RM} -rf ${WRKSRC}/libpcap*
-
+.if !target(post-install)
post-install:
@strip ${PREFIX}/bin/nmap
+.endif
.include <bsd.port.post.mk>