summaryrefslogtreecommitdiff
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
parentAdd missing @dirrm for Hotfix_2001_05_01. (diff)
Allow a slave port to work with this Makefile. To be used by nmapfe port.
Notes
Notes: svn path=/head/; revision=43170
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>