aboutsummaryrefslogtreecommitdiffstats
path: root/security/nmap
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-05-28 08:18:04 +0800
committerobrien <obrien@FreeBSD.org>2001-05-28 08:18:04 +0800
commit37f0039dd500e78a41a9a609e9db77829ce20a50 (patch)
tree5f77dbff75b9e9172ad0ddc5a69150c492e20405 /security/nmap
parente64048918d5acd4c55613f0a678f95dc78b49812 (diff)
downloadfreebsd-ports-gnome-37f0039dd500e78a41a9a609e9db77829ce20a50.tar.gz
freebsd-ports-gnome-37f0039dd500e78a41a9a609e9db77829ce20a50.tar.zst
freebsd-ports-gnome-37f0039dd500e78a41a9a609e9db77829ce20a50.zip
Allow a slave port to work with this Makefile. To be used by nmapfe port.
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>