commit:     7645b6ca84f3ca0e2925a0e5708d60a79d10b1ee
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  5 18:10:50 2017 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Oct  5 18:15:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7645b6ca

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(+)

diff --git a/media-gfx/ditaa/Manifest b/media-gfx/ditaa/Manifest
new file mode 100644
index 00000000000..80ff02d00e9
--- /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 00000000000..2880c26215b
--- /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 00000000000..fac0708bccc
--- /dev/null
+++ b/media-gfx/ditaa/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <upstream>
+               <remote-id type="github">stathissideris/ditaa</remote-id>
+               <remote-id type="sourceforge">ditaa</remote-id>
+       </upstream>
+       <maintainer type="person">
+               <email>zmed...@gentoo.org</email>
+       </maintainer>
+</pkgmetadata>

Reply via email to