[147186] trunk/dports/net/nmap/Portfile
dluke at macports.org
dluke at macports.org
Wed Mar 30 08:10:35 PDT 2016
Revision: 147186
https://trac.macports.org/changeset/147186
Author: dluke at macports.org
Date: 2016-03-30 08:10:35 -0700 (Wed, 30 Mar 2016)
Log Message:
-----------
nmap: add a way to build without subversion (fixes #37343), also switched no_* variants to the correct (current) positive style
Modified Paths:
--------------
trunk/dports/net/nmap/Portfile
Modified: trunk/dports/net/nmap/Portfile
===================================================================
--- trunk/dports/net/nmap/Portfile 2016-03-30 13:38:43 UTC (rev 147185)
+++ trunk/dports/net/nmap/Portfile 2016-03-30 15:10:35 UTC (rev 147186)
@@ -4,6 +4,7 @@
name nmap
version 7.10
+revision 1
categories net
maintainers darkart.com:opendarwin.org geeklair.net:dluke
description Port scanning utility for large networks
@@ -32,20 +33,17 @@
sha256 58cf8896d09057d1c3533f430c06b22791d0227ebbb93dede2ccb73693ed4b4b
depends_lib port:libpcap \
- path:lib/libssl.dylib:openssl \
- port:pcre \
port:zlib \
port:apr \
- port:subversion
use_bzip2 yes
configure.args --without-zenmap --without-ndiff \
--mandir=\\\${prefix}/share/man \
--infodir=\\\${prefix}/share/info \
- --with-openssl=${prefix} \
- --with-libpcre=${prefix} \
- --with-liblua=included
+ --with-liblua=included \
+ --without-subversion
+
# nmap's configure script in nselib-bin does not respect --with-liblua=included
# as with many ports, configure fails if nawk is installed, force use of system awk
@@ -54,16 +52,23 @@
use_parallel_build no
configure.ccache no
-variant no_ssl description {build without ssl support} {
- configure.args-delete --with-openssl=${prefix}
- depends_lib-delete path:lib/libssl.dylib:openssl
+default_variants +ssl +pcre +subversion
+
+variant ssl description {build with ssl support} {
+ configure.args-append --with-openssl=${prefix}
+ depends_lib-append path:lib/libssl.dylib:openssl
}
-variant no_pcre description {build without pcre support} {
- configure.args-delete --with-pcre=${prefix}
- depends_lib-delete port:pcre
+variant pcre description {build with pcre support} {
+ configure.args-append --with-pcre=${prefix}
+ depends_lib-append port:pcre
}
+variant subversion description {build with subversion (nmap-update) support} {
+ configure.args-delete --without-subversion
+ depends_lib-append port:subversion
+ }
+
variant zenmap description {build zenmap in addition to nmap} {
configure.args-delete --without-zenmap
configure.python ${prefix}/bin/python2.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160330/d2cc0567/attachment-0001.html>
More information about the macports-changes
mailing list