Skip to content

Commit

Permalink
plantuml: Update to 1.2019.4
Browse files Browse the repository at this point in the history
And don't use .sh suffix on wrapper script.

Closes: https://trac.macports.org/ticket/58340
  • Loading branch information
ryandesign committed Apr 15, 2019
1 parent d75d9db commit a96bcc1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions java/plantuml/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
PortSystem 1.0
PortGroup github 1.0

github.setup plantuml plantuml 1.2018.6 v
github.setup plantuml plantuml 1.2019.4 v
revision 0
checksums rmd160 6b0307ee873a225ab3c6efe000e2d834cb3f1c45 \
sha256 b73766f4e8822f2102e610a1bf04f1ab9a067a38d970008906bd834edd3036d5 \
size 4518354

categories java editors
platforms darwin
supported_archs noarch
Expand All @@ -16,10 +21,6 @@ long_description ${description}

homepage http://plantuml.com/

checksums rmd160 48858945917cc16899e4e08f247cdbd28cd3843c \
sha256 69e23ed8a8cffbfea6ea3dc5815cfbed6a8e364117eb1ed7fe5e4c5db0d4bd5c \
size 4394080

depends_build bin:ant:apache-ant
depends_lib bin:java:kaffe

Expand All @@ -28,21 +29,20 @@ use_configure no
build.cmd ant
build.target dist

set wrapper plantuml.sh
set javadir ${destroot}${prefix}/share/java
set jarname ${name}.jar

post-extract {
file copy ${filespath}/${wrapper} ${worksrcpath}
copy ${filespath}/${name}.in ${worksrcpath}/${name}
}

post-patch {
reinplace "s|__PLANTUML_LAUNCHER_PATH__|${prefix}/share/java/${jarname}|g" \
${worksrcpath}/${wrapper}
${worksrcpath}/${name}
}

destroot {
xinstall -d -m 755 ${javadir}
xinstall -m 755 ${worksrcpath}/${wrapper} ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/${jarname} ${javadir}
xinstall -d -m 0755 ${javadir}
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
xinstall -m 0644 ${worksrcpath}/${jarname} ${javadir}
}
File renamed without changes.

0 comments on commit a96bcc1

Please sign in to comment.