summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-01-03 21:59:38 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-01-03 21:59:38 +0000
commit37fbc7a884194686b866f0e1448979b47bf83032 (patch)
treee89044d659b12480c7233f33d2e35de05d202696 /dev-java
parentAdd unit file (diff)
downloadhistorical-37fbc7a884194686b866f0e1448979b47bf83032.tar.gz
historical-37fbc7a884194686b866f0e1448979b47bf83032.tar.bz2
historical-37fbc7a884194686b866f0e1448979b47bf83032.zip
Import from sunrise-overlay. Fixes bug #162790. Add java-herd as backup.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jlibeps/ChangeLog9
-rw-r--r--dev-java/jlibeps/Manifest5
-rw-r--r--dev-java/jlibeps/files/jlibeps-build.xml.patch20
-rw-r--r--dev-java/jlibeps/jlibeps-0.1.ebuild39
-rw-r--r--dev-java/jlibeps/metadata.xml9
5 files changed, 82 insertions, 0 deletions
diff --git a/dev-java/jlibeps/ChangeLog b/dev-java/jlibeps/ChangeLog
new file mode 100644
index 000000000000..64f0ede24e96
--- /dev/null
+++ b/dev-java/jlibeps/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/jlibeps
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jlibeps/ChangeLog,v 1.1 2014/01/03 21:59:35 mrueg Exp $
+
+*jlibeps-0.1 (03 Jan 2014)
+
+ 03 Jan 2014; Manuel Rüger <mrueg@gentoo.org> +files/jlibeps-build.xml.patch,
+ +jlibeps-0.1.ebuild, +metadata.xml:
+ Import from sunrise-overlay. Fixes bug #162790. Add java-herd as backup.
diff --git a/dev-java/jlibeps/Manifest b/dev-java/jlibeps/Manifest
new file mode 100644
index 000000000000..2877d0a2a995
--- /dev/null
+++ b/dev-java/jlibeps/Manifest
@@ -0,0 +1,5 @@
+AUX jlibeps-build.xml.patch 610 SHA256 87e2e5f5f1033c215808ab7236e7918fff55df3f03887c4acfdc1cb970cea40f SHA512 fb160eb2b9cffc78a82ad78fb947682330af81f1eccea25ce0a3730dce7551020063a0f3928ca460f8f653d86fd3da9ad0b36f09bb4aa5424a04da582c5b3b89 WHIRLPOOL 45d5c0ad575582a5a23059eb96c96ecd289520af0dc94e28a52d74b9059a1cd1bcfe3fcc038a889d06749a6fba6d39d31bf73a1947371ddd70e17ea1f824240b
+DIST jlibeps-0.1-src.zip 85686 SHA256 078fcf9ed6720f693f6eaa669e340e84ab67b938d9cd92357783194596017d44 SHA512 ce28d31d8aafaac2e493fecf8cf95e84ff5076fde7e4d2be8abcca5d849b823ab2b31303fa4f24450ce29aa1bc71f451c880213f820343a98f1aff0036693b5a WHIRLPOOL 0802ba9d4e0560b5bca9ba97112cadaac8d6911acf5774afad98adb106201d1624349d1e84a445c1d818c3bff9319204a5ddb87f4880a3595fe2eac3eedce871
+EBUILD jlibeps-0.1.ebuild 904 SHA256 feed25b4160b24bc1ef1ab7f564fd5eca9f3353064d69d4604c0cea98d7a225c SHA512 898b7cd70a2c6821c7b511de66a3225adce91cea035e144e44efc47151368b05d67965b322aeb576fc31d772d96ccbe1ba4fb93cc8bf1a64f4b331d8c649c8cd WHIRLPOOL 6af1dcd57805c68700cfb416783af43899c42a8fcef8f62e7f4c7c3bddcc0c7c45d0635a5b800442bbb47075f9b01394dbc4979e7e8b5b03ac80fe628946f2e2
+MISC ChangeLog 425 SHA256 b33e088ff94bc8c335cce0beaa30e5deea3eae25697566f4de4f7fd94200fbdb SHA512 a5626d19ada5c2f178868c0867c69aa66b7848692b751e180670637c5f2010b1bfadd7e7fed4fb87dfdbca53cff612ecb852e962f442b1c6ecff49bd1be56d27 WHIRLPOOL 5b6b236d3053bd4e63e856972d9fe8dba4330e5c2cccec0a8af995505da5e243dc3fad0116ecf1bcc219f767254ed15ed9f65fa9700e5d61c405c65e17c0b5b1
+MISC metadata.xml 250 SHA256 d516abf3795cacd6b2b05202374df98c2ae4480d2335976c0e67753fa7bf72e5 SHA512 56450aa869870109341005c07303e4db8e9e2d42e32864a36d0d9c78d0442cc84d03e8fd50fe13344df2c4afc3f20cb8b16a3a7f7fd7ccdede8c70df1c200fd0 WHIRLPOOL 4f864f7eba9f0564879b6e68b647c415a3a1218dd3fc0899b80d5d0461955191c6bd9ed82c8375df6c5dd271b6e2583e5cbcc83319926f19d78c00ea55e732f1
diff --git a/dev-java/jlibeps/files/jlibeps-build.xml.patch b/dev-java/jlibeps/files/jlibeps-build.xml.patch
new file mode 100644
index 000000000000..99df166ad317
--- /dev/null
+++ b/dev-java/jlibeps/files/jlibeps-build.xml.patch
@@ -0,0 +1,20 @@
+--- build.xml.old 2012-04-04 16:52:56.948652156 +0200
++++ build.xml 2012-04-05 17:35:30.360517235 +0200
+@@ -19,9 +19,15 @@
+ </javadoc>
+ </target>
+
+-
++ <!-- Builds classes -->
++ <target name="compile" description="Builds classes">
++ <javac srcdir="src" destdir="bin">
++ <classpath />
++ <include name="**/*.java" />
++ </javac>
++ </target>
+ <!-- Creates the jar -->
+- <target name="jar" description="Generates jlibeps.jar">
++ <target name="jar" description="Generates jlibeps.jar" depends="compile">
+
+ <jar jarfile="${dir.out}/jlibeps.jar" >
+ <!-- Filters the files -->
diff --git a/dev-java/jlibeps/jlibeps-0.1.ebuild b/dev-java/jlibeps/jlibeps-0.1.ebuild
new file mode 100644
index 000000000000..a4185e8776dc
--- /dev/null
+++ b/dev-java/jlibeps/jlibeps-0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jlibeps/jlibeps-0.1.ebuild,v 1.1 2014/01/03 21:59:35 mrueg Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="A java development library which allows the creation of an EPS file from a Graphics2D"
+HOMEPAGE="http://jlibeps.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND="app-arch/unzip
+ >=virtual/jdk-1.4"
+
+EANT_DOC_TARGET="doc"
+
+S=${WORKDIR}
+
+java_prepare() {
+ epatch "${FILESDIR}"/${PN}-build.xml.patch
+ find . -name '*.class' -exec rm -v {} + || die "Class removal failed"
+}
+
+src_install() {
+ java-pkg_dojar out/${PN}.jar
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src/org
+}
diff --git a/dev-java/jlibeps/metadata.xml b/dev-java/jlibeps/metadata.xml
new file mode 100644
index 000000000000..512450f6984c
--- /dev/null
+++ b/dev-java/jlibeps/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <maintainer>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+</pkgmetadata>