summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/kunststoff')
-rw-r--r--dev-java/kunststoff/Manifest1
-rw-r--r--dev-java/kunststoff/files/build.xml56
-rw-r--r--dev-java/kunststoff/kunststoff-2.0.2-r1.ebuild36
-rw-r--r--dev-java/kunststoff/metadata.xml15
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-java/kunststoff/Manifest b/dev-java/kunststoff/Manifest
new file mode 100644
index 000000000000..faf20add475a
--- /dev/null
+++ b/dev-java/kunststoff/Manifest
@@ -0,0 +1 @@
+DIST kunststoff-2_0_2.zip 77078 SHA256 cef7a76dfdb48460dbe805e0df560cdbfe73a427f3a16c479f9b88f6ce79a2fd SHA512 30e4d74ba28795152b7c740430ac8e5aa650bead2adcbe17442b6e2daefb36b0000d6f98653a161c6d504a6ac77b40fd1477d64143b77e73bec8c28f1c03c5d7 WHIRLPOOL 87839d5d8a69ec971de32421e3be25357069d7e17772bf371f4bebbd72209172f446db3ce8e10ed8f8aab3bc317263a62968d647a15fc811fb3477c39a54e482
diff --git a/dev-java/kunststoff/files/build.xml b/dev-java/kunststoff/files/build.xml
new file mode 100644
index 000000000000..ea3770e2cb34
--- /dev/null
+++ b/dev-java/kunststoff/files/build.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+
+<project name="kunststoff" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs" />
+ <property name="dist.dir" value="dist" />
+ <property name="jarfile" value="${dist.dir}/kunststoff.jar" />
+ <property name="target.jdk" value="1.4" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}" />
+
+ <copy todir="${build.dir}">
+ <fileset dir="${src.dir}">
+ <exclude name="**/*.java" />
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames="com.*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+</project>
diff --git a/dev-java/kunststoff/kunststoff-2.0.2-r1.ebuild b/dev-java/kunststoff/kunststoff-2.0.2-r1.ebuild
new file mode 100644
index 000000000000..b8f2a56fae1e
--- /dev/null
+++ b/dev-java/kunststoff/kunststoff-2.0.2-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Kunststoff Look&Feel"
+SRC_URI="http://www.incors.org/archive/${P//./_}.zip"
+HOMEPAGE="http://www.incors.org/archive"
+LICENSE="LGPL-2.1"
+SLOT="2.0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="doc source"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.4
+ >=app-arch/unzip-5.50-r1"
+RDEPEND=">=virtual/jre-1.4"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm -f *.jar
+ cp "${FILESDIR}"/build.xml .
+}
+
+EANT_DOC_TARGET="docs"
+
+src_install() {
+ java-pkg_dojar dist/kunststoff.jar
+
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc src/com
+}
diff --git a/dev-java/kunststoff/metadata.xml b/dev-java/kunststoff/metadata.xml
new file mode 100644
index 000000000000..fd86213ec01e
--- /dev/null
+++ b/dev-java/kunststoff/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription>
+
+The Kunststoff Look&amp;Feel is an extension to the the Java Metal
+Look&amp;Feel. This makes it very compact in size (approx. 43 kBytes) and
+ensures that all the great features provided by the Metal Look&amp;Feel do not
+get lost.
+
+</longdescription>
+</pkgmetadata>