diff options
-rw-r--r-- | media-gfx/plantuml/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/plantuml/plantuml-1.2019.13.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/media-gfx/plantuml/Manifest b/media-gfx/plantuml/Manifest index 14155c4fe677..a947021cf405 100644 --- a/media-gfx/plantuml/Manifest +++ b/media-gfx/plantuml/Manifest @@ -1 +1,2 @@ +DIST plantuml-1.2019.13.tar.gz 4552633 BLAKE2B f6ea05bdd1e4e3cf748dc4d48ca9a89f06246d135bfcc410ec1b2094d1e53ab6ae415c2b39a3fc56441d17999794c1862b95718932d6a20152550deaa42a6c0e SHA512 8d2a2520821a5f75c3508bf2598186718469c6cf2c411f3b975de1abbb4792be8ae70ec84da7ae0bf4668738ca052de5463701dafc5805f362876f1d770ad494 DIST plantuml-8046.tar.gz 2966063 BLAKE2B 8634fbccbcd0ae2038a5e611215dd4343baba5e9562c02d6ebfc2a9fe702359fd035f490a9fd06484c08431993792efd1b3afd35f2a9812fb052f92f3616e284 SHA512 2ddae800fb30c0e352b44ef06476f7d770c12d516d93fe6f82ec1f33dd3bc1cb3330ba4a0cc89e06daa6eec9a56dc772a4f901d441dea86a8ce82b8d298cdfd5 diff --git a/media-gfx/plantuml/plantuml-1.2019.13.ebuild b/media-gfx/plantuml/plantuml-1.2019.13.ebuild new file mode 100644 index 000000000000..be646991f7bf --- /dev/null +++ b/media-gfx/plantuml/plantuml-1.2019.13.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="source" +inherit java-pkg-2 java-ant-2 desktop xdg + +DESCRIPTION="Draw UML diagrams using a simple and human readable text description" +HOMEPAGE="http://plantuml.com" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=">=virtual/jdk-1.8" + +RDEPEND=">=virtual/jre-1.8 + dev-java/ant-core:0 + >=media-gfx/graphviz-2.26.3" + +EANT_BUILD_TARGET="dist" +EANT_GENTOO_CLASSPATH="ant-core" +JAVA_ANT_REWRITE_CLASSPATH="true" + +src_install() { + java-pkg_dojar ${PN}.jar + java-pkg_dolauncher ${PN} --jar ${PN}.jar + use source && java-pkg_dosrc src/* + + make_desktop_entry plantuml PlantUML +} |