summaryrefslogtreecommitdiff
path: root/security/nmap
diff options
context:
space:
mode:
Diffstat (limited to 'security/nmap')
-rw-r--r--security/nmap/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/security/nmap/Makefile b/security/nmap/Makefile
index 1c434f7ae6ab..f779c8495edf 100644
--- a/security/nmap/Makefile
+++ b/security/nmap/Makefile
@@ -7,8 +7,8 @@ CATEGORIES= security ipv6
MASTER_SITES= http://nmap.org/dist/ \
LOCAL/ohauer
-MAINTAINER= ohauer@FreeBSD.org
-COMMENT= Port scanning utility for large networks
+MAINTAINER?= ohauer@FreeBSD.org
+COMMENT?= Port scanning utility for large networks
# nmap-6.47 => svn.nmap.org/nmap-releases/nmap-6.47 (r33605)
# http://nmap.org/book/man-legal.html
@@ -17,6 +17,8 @@ COMMENT= Port scanning utility for large networks
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
+.if !defined(MASTERDIR)
+
LIB_DEPENDS= libpcre.so:devel/pcre
USES= tar:bzip2 gmake cpe
@@ -33,8 +35,6 @@ SSL_CONFIGURE_OFF= --without-openssl
SSL_CFLAGS= -I${OPENSSLINC}
SSL_VARS= STRIP_FILES=ncat
-.include <bsd.port.options.mk>
-
DOCS= CHANGELOG HACKING
STRIP_FILES+= nmap nping
@@ -62,4 +62,6 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+.endif
+
.include <bsd.port.mk>