# -*- 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           github 1.0
PortGroup           java 1.0

name                VisualVM

github.setup        oracle visualvm 2.1.7
github.tarball_from releases

categories          java
platforms           macosx
supported_archs     x86_64
license             GPL-2
maintainers         nomaintainer

description         All-in-One Java Troubleshooting Tool
long_description    VisualVM is a visual tool integrating commandline JDK tools and lightweight profiling capabilities. \
                    Designed for both development and production time use

homepage            https://visualvm.github.io

distname            [strsed ${name}_${version} {g/[.]//}]
use_dmg             yes

checksums           rmd160  58f19861e7b49e7ebeb3be41285d24c2e3c99a05 \
                    sha256  5fb5298734c2946b028f14e49fdb111d04757526a69c6f5dd8563094d7da7ee8 \
                    size    22288657

java.version        1.8+
java.fallback       openjdk11

use_configure       no
build               {}

destroot {
    copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}
}
