# -*- 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.0.6
github.tarball_from releases

categories          java
platforms           macosx
supported_archs     x86_64
license             GPL-2
maintainers         {gmx.net:lothar.haeger @lhaeger} openmaintainer

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  2b6be3a0ff14e06776c8783cc4f426ce15ee3cf2 \
                    sha256  fc65863b25c3d5d79fdf79f866f0fba18e3dece9a59c871e1b1a7f89c09a6c57 \
                    size    19980221

java.version        1.8+
java.fallback       openjdk11

use_configure       no
build               {}

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