mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
1.7 KiB
Tcl
54 lines
1.7 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup python 1.0
|
|
PortGroup app 1.0
|
|
|
|
name zenmap
|
|
version 7.97
|
|
revision 0
|
|
categories net python
|
|
maintainers {darkart.com:opendarwin.org @ghosthound}
|
|
# NPSL - https://nmap.org/npsl/
|
|
# gpl-2 with additional restrictions, so not actually gpl-2
|
|
license {GPL-2 OpenSSLException} Restrictive/Distributable
|
|
supported_archs noarch
|
|
platforms {darwin any}
|
|
|
|
description GUI for nmap
|
|
|
|
long_description Zenmap is a multi-platform graphical Nmap frontend and \
|
|
results viewer.
|
|
|
|
homepage https://nmap.org/
|
|
|
|
master_sites https://nmap.org/dist/
|
|
dist_subdir nmap
|
|
distname nmap-${version}
|
|
use_bzip2 yes
|
|
checksums rmd160 dd45f83104155cd97b8468856b3fcf724567cb44 \
|
|
sha256 af98f27925c670c257dd96a9ddf2724e06cb79b2fd1e0d08c9206316be1645c0 \
|
|
size 12142624
|
|
|
|
worksrcdir ${distname}/zenmap
|
|
|
|
python.default_version \
|
|
313
|
|
|
|
depends_lib port:py${python.version}-gobject3
|
|
depends_run port:nmap
|
|
post-destroot {
|
|
# uninstall is managed by MacPorts
|
|
delete ${destroot}${prefix}/bin/uninstall_zenmap
|
|
set docdir ${prefix}/share/doc/${subport}
|
|
xinstall -m 755 -d ${destroot}${docdir}
|
|
xinstall -m 644 -W ${worksrcpath} COPYING_HIGWIDGETS LICENSE README \
|
|
${destroot}${docdir}
|
|
}
|
|
|
|
app.name Zenmap
|
|
app.use_launch_script \
|
|
yes
|
|
app.executable ${python.prefix}/bin/zenmap
|
|
app.icon ${worksrcpath}/install_scripts/macosx/zenmap.icns
|