# -*- 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
# Generated with JReleaser 1.21.0-SNAPSHOT at 2025-10-31T09:02:17.092272113Z

PortSystem       1.0
PortGroup        github 1.0
PortGroup        java 1.0

github.setup     jreleaser jreleaser 1.21.0 v
revision         0

categories       devel java
license          Apache-2
maintainers      @aalmiray
platforms        any
supported_archs  noarch

description      Release projects quickly and easily with JReleaser
long_description JReleaser is a release automation tool. Its goal is to simplify creating releases and \
                 publishing artifacts to multiple package managers while providing customizable options. \
                  \
                 JReleaser takes inputs from popular builds tools (Ant, Maven, Gradle) such as JAR files, \
                 binary distributions (.zip, .tar), JLink images, or any other file that you’d like to \
                 publish as a Git release on popular Git services such as GitHub, GitLab, or Gitea. \
                 Distribution files may additionally be published to be consumed by popular package managers \
                 such as Homebrew, Chocolatey, Snapcraft, or get ready to be launched via JBang. Releases \
                 may be announced in a variety of channels such as Twitter, Zulip, SDKMAN!, and more.

homepage         https://jreleaser.org
github.tarball_from releases
use_zip          yes

checksums        rmd160 3db5eb836958171b747b66af7813819a0ebd2381 \
                 sha256 5d126a7e7f8e8b973832fae83aa3938fbfef4ae17432573be410691c96a4f073 \
                 size   42659884

java.version     1.8+

use_configure    no

build {}

destroot {
    set target ${destroot}${prefix}/share/${name}

    # Create the target directory
    xinstall -m 755 -d ${target}

    # Copy over the needed elements of our directory tree
    copy {*}[glob -dir ${worksrcpath} *] ${target}

    # Remove extraneous files
    delete {*}[glob -directory ${target}/bin *.bat]

    ln -s ../share/${name}/bin/jreleaser ${destroot}${prefix}/bin/jreleaser
}
