From 7645b6ca84f3ca0e2925a0e5708d60a79d10b1ee Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 5 Oct 2017 11:10:50 -0700 Subject: media-gfx/ditaa: new package Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- media-gfx/ditaa/Manifest | 1 + media-gfx/ditaa/ditaa-0.10.ebuild | 36 ++++++++++++++++++++++++++++++++++++ media-gfx/ditaa/metadata.xml | 11 +++++++++++ 3 files changed, 48 insertions(+) create mode 100644 media-gfx/ditaa/Manifest create mode 100644 media-gfx/ditaa/ditaa-0.10.ebuild create mode 100644 media-gfx/ditaa/metadata.xml (limited to 'media-gfx/ditaa') diff --git a/media-gfx/ditaa/Manifest b/media-gfx/ditaa/Manifest new file mode 100644 index 000000000000..80ff02d00e9d --- /dev/null +++ b/media-gfx/ditaa/Manifest @@ -0,0 +1 @@ +DIST ditaa-0.10.tar.gz 4514464 SHA256 82e49065d408cba8b323eea0b7f49899578336d566096c6eb6e2d0a28745d63b SHA512 0abd70657d53ddf222d6a86b0c68064d1da093e421b060f59f73b91dccfdf7764beaad96bb1553c0d4b1c8a57b4922de63b20196a1ce3929b4a2e68b6f2a793c WHIRLPOOL d4099c7ed5661e87514f2e5221af397c4cdbaae4dcca8fc8d9fe9b8a470f6345c7d4dddeaed43c00d4dfa7d9738ade357246b66bb7eea252976aee60afef33bc diff --git a/media-gfx/ditaa/ditaa-0.10.ebuild b/media-gfx/ditaa/ditaa-0.10.ebuild new file mode 100644 index 000000000000..2880c26215bb --- /dev/null +++ b/media-gfx/ditaa/ditaa-0.10.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit java-pkg-2 + +DESCRIPTION="A utility that converts ascii-art diagrams to bitmap diagrams" +HOMEPAGE="https://github.com/stathissideris/ditaa" +SRC_URI="https://github.com/stathissideris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-java/ant-core:0 + >=virtual/jdk-1.7:*" +RDEPEND=">=virtual/jdk-1.7:*" + +src_prepare() { + default + sed "s:0_9:${PV/./_}:" -i build/release.xml || die + sed "s:version 0.9:version ${PV}:" -i \ + src/org/stathissideris/ascii2image/core/CommandLineConverter.java || die +} + +src_compile() { + mkdir bin || die + ant -buildfile build/release.xml release-jar || die +} + +src_install() { + java-pkg_newjar releases/${PN}${PV/./_}.jar ${PN}.jar + java-pkg_dolauncher ${PN} +} diff --git a/media-gfx/ditaa/metadata.xml b/media-gfx/ditaa/metadata.xml new file mode 100644 index 000000000000..fac0708bcccb --- /dev/null +++ b/media-gfx/ditaa/metadata.xml @@ -0,0 +1,11 @@ + + + + + stathissideris/ditaa + ditaa + + + zmedico@gentoo.org + + -- cgit v1.2.3-65-gdbad