<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d0df801010c959f19db0113c6d89ad519dc7ebc2">https://github.com/macports/macports-ports/commit/d0df801010c959f19db0113c6d89ad519dc7ebc2</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new d0df801010c asciidoctorj: New port
</span>d0df801010c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit d0df801010c959f19db0113c6d89ad519dc7ebc2
</span>Author: Vadim-Valdis Yudaev <judaew@outlook.de>
AuthorDate: Tue Sep 14 02:09:04 2021 +0300
<span style='display:block; white-space:pre;color:#404040;'> asciidoctorj: New port
</span>---
textproc/asciidoctorj/Portfile | 53 ++++++++++++++++++++++
.../files/patch-prefix-for-app-libs.diff | 20 ++++++++
2 files changed, 73 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/asciidoctorj/Portfile b/textproc/asciidoctorj/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e7a53ecd80e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/asciidoctorj/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,53 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup java 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name asciidoctorj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.5.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories textproc java
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Apache-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {outlook.de:judaew @judaew} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AsciidoctorJ is the official library for running Asciidoctor on the JVM.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description} Using AsciidoctorJ, you can convert \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AsciiDoc content or analyze the structure of a parsed AsciiDoc document \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ from Java and other JVM languages.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://asciidoctor.org
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites https://repo1.maven.org/maven2/org/asciidoctor/asciidoctorj/${version}/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-${version}-bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+worksrcdir ${name}-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ca537de047d7335b7475a6fb5392c3dda9c872c5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 889fd490a43e59e06c4f9d6692228e48ada2829acead7ea8c454a596c5cb2a96 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 52364352
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.version 1.8+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+java.fallback openjdk11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_zip yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-prefix-for-app-libs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${worksrcpath}/bin/${name}.bat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s,@@PREFIX@@,${prefix}/lib/${name},g" ${worksrcpath}/bin/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 ${worksrcpath}/bin/${name} ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -d ${destroot}${prefix}/lib/asciidoctorj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 {*}[glob ${worksrcpath}/lib/*.jar] \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${prefix}/lib/asciidoctorj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.url https://repo1.maven.org/maven2/org/asciidoctor/asciidoctorj/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex (\\d+(?:\\.\\d+)*)/
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/textproc/asciidoctorj/files/patch-prefix-for-app-libs.diff b/textproc/asciidoctorj/files/patch-prefix-for-app-libs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2bb48079426
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/textproc/asciidoctorj/files/patch-prefix-for-app-libs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- bin/asciidoctorj.orig 2021-08-08 12:44:00.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ bin/asciidoctorj 2021-09-14 01:59:51.000000000 +0300
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -21,7 +21,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SAVED="`pwd`"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cd "`dirname \"$PRG\"`/.." >/dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-APP_HOME="`pwd -P`"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++APP_HOME="@@PREFIX@@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cd "$SAVED" >/dev/null
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ APP_NAME="asciidoctorj"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -64,7 +64,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CLASSPATH=$APP_HOME/lib/asciidoctorj-2.5.2-bin.jar:$APP_HOME/lib/asciidoctorj-2.5.2.jar:$APP_HOME/lib/asciidoctorj-api-2.5.2.jar:$APP_HOME/lib/asciidoctorj-epub3-1.5.1.jar:$APP_HOME/lib/asciidoctorj-diagram-2.1.2.jar:$APP_HOME/lib/asciidoctorj-pdf-1.6.0.jar:$APP_HOME/lib/asciidoctorj-revealjs-4.1.0.jar:$APP_HOME/lib/jruby-complete-9.2.17.0.jar:$APP_HOME/lib/jcommander-1.72.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CLASSPATH=$APP_HOME/asciidoctorj-2.5.2-bin.jar:$APP_HOME/asciidoctorj-2.5.2.jar:$APP_HOME/asciidoctorj-api-2.5.2.jar:$APP_HOME/asciidoctorj-epub3-1.5.1.jar:$APP_HOME/asciidoctorj-diagram-2.1.2.jar:$APP_HOME/asciidoctorj-pdf-1.6.0.jar:$APP_HOME/asciidoctorj-revealjs-4.1.0.jar:$APP_HOME/jruby-complete-9.2.17.0.jar:$APP_HOME/jcommander-1.72.jar
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Determine the Java command to use to start the JVM.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if [ -n "$JAVA_HOME" ] ; then
</span></pre><pre style='margin:0'>
</pre>