1 | # -*- 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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup java 1.0 |
---|
5 | |
---|
6 | name jreleaser |
---|
7 | version 0.8.0 |
---|
8 | revision 0 |
---|
9 | |
---|
10 | categories devel java |
---|
11 | license Apache-2 |
---|
12 | maintainers @aalmiray |
---|
13 | platforms darwin |
---|
14 | supported_archs noarch |
---|
15 | |
---|
16 | description Release projects quickly and easily with JReleaser |
---|
17 | long_description JReleaser is a release automation tool. Its goal is to simplify creating releases \ |
---|
18 | and publishing artifacts to multiple package managers while providing customizable options. \ |
---|
19 | JReleaser takes inputs from popular builds tools (Ant, Maven, Gradle) such as JAR files, binary \ |
---|
20 | distributions (.zip, .tar), JLink images, or any other file that you’d like to publish as a Git \ |
---|
21 | release on popular Git services such as Github or Gitlab. Distribution files can additionally be \ |
---|
22 | published to be consumed by popular package managers as Homebrew, Snapcraft, or get ready to be \ |
---|
23 | launched via JBang. Releases may be announced in a variety of channels such as Twitter, Zulip, or SDKMAN! |
---|
24 | homepage https://jreleaser.org |
---|
25 | |
---|
26 | master_sites https://github.com/jreleaser/jreleaser/releases/download/v${version} |
---|
27 | use_zip yes |
---|
28 | |
---|
29 | checksums rmd160 5c45d1a69f3649d9702ba07b3c61dd860d2dfcbb \ |
---|
30 | sha256 be7d14d22d38e7a3fbd1a105f9d55d46afd773c9d8b0f983e6539692a042fca6 \ |
---|
31 | size 22022685 |
---|
32 | |
---|
33 | java.version 1.8.+ |
---|
34 | |
---|
35 | use_configure no |
---|
36 | |
---|
37 | build {} |
---|
38 | |
---|
39 | destroot { |
---|
40 | set target ${destroot}${prefix}/share/java/${name} |
---|
41 | |
---|
42 | # Create the target java directory |
---|
43 | xinstall -m 755 -d ${target} |
---|
44 | |
---|
45 | # Copy over the needed elements of our directory tree |
---|
46 | foreach d { bin lib } { |
---|
47 | copy ${worksrcpath}/${d} ${target} |
---|
48 | } |
---|
49 | |
---|
50 | # Remove extraneous bat files |
---|
51 | foreach f [glob -directory ${target}/bin *.bat] { |
---|
52 | delete ${f} |
---|
53 | } |
---|
54 | |
---|
55 | ln -s ../share/java/${name}/bin/jreleaser ${destroot}${prefix}/bin/jreleaser |
---|
56 | } |
---|
57 | |
---|
58 | livecheck.type regex |
---|
59 | livecheck.url https://jreleaser.org/releases/latest/download/VERSION |
---|
60 | livecheck.regex (\[0-9.\]+\\.\[0-9.\]+\\.\[0-9.\]+) |
---|