summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/jlibeps
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/jlibeps')
-rw-r--r--dev-java/jlibeps/Manifest1
-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.xml12
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/jlibeps/Manifest b/dev-java/jlibeps/Manifest
new file mode 100644
index 000000000000..273339114298
--- /dev/null
+++ b/dev-java/jlibeps/Manifest
@@ -0,0 +1 @@
+DIST jlibeps-0.1-src.zip 85686 SHA256 078fcf9ed6720f693f6eaa669e340e84ab67b938d9cd92357783194596017d44 SHA512 ce28d31d8aafaac2e493fecf8cf95e84ff5076fde7e4d2be8abcca5d849b823ab2b31303fa4f24450ce29aa1bc71f451c880213f820343a98f1aff0036693b5a WHIRLPOOL 0802ba9d4e0560b5bca9ba97112cadaac8d6911acf5774afad98adb106201d1624349d1e84a445c1d818c3bff9319204a5ddb87f4880a3595fe2eac3eedce871
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..db3770549b27
--- /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
+# $Id$
+
+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..ed6cb4271158
--- /dev/null
+++ b/dev-java/jlibeps/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+ <upstream>
+ <remote-id type="sourceforge">jlibeps</remote-id>
+ </upstream>
+</pkgmetadata>