summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-20 17:30:26 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-12-20 17:30:26 +0000
commit4552d9c7512809f68e895bdd093f8f76588673e6 (patch)
treeb44735fd75eda7b62f7690c297e03b57565a64bb /dev-java/kunststoff
parentFixes #71378. (Manifest recommit) (diff)
downloadgentoo-2-4552d9c7512809f68e895bdd093f8f76588673e6.tar.gz
gentoo-2-4552d9c7512809f68e895bdd093f8f76588673e6.tar.bz2
gentoo-2-4552d9c7512809f68e895bdd093f8f76588673e6.zip
Initial import. Quack out loud. Fixes #74923.
Diffstat (limited to 'dev-java/kunststoff')
-rw-r--r--dev-java/kunststoff/ChangeLog9
-rw-r--r--dev-java/kunststoff/Manifest5
-rw-r--r--dev-java/kunststoff/files/build.xml50
-rw-r--r--dev-java/kunststoff/files/digest-kunststoff-2.0.21
-rw-r--r--dev-java/kunststoff/kunststoff-2.0.2.ebuild48
-rw-r--r--dev-java/kunststoff/metadata.xml15
6 files changed, 128 insertions, 0 deletions
diff --git a/dev-java/kunststoff/ChangeLog b/dev-java/kunststoff/ChangeLog
new file mode 100644
index 000000000000..84a3962fef98
--- /dev/null
+++ b/dev-java/kunststoff/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-java/kunststoff
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kunststoff/ChangeLog,v 1.1 2004/12/20 17:30:25 karltk Exp $
+
+*kunststoff-2.0.2 (20 Dec 2004)
+
+ 20 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> kunststoff-2.0.2.ebuild:
+ Initial import. Ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de>, of
+ course. Fixes #74923.
diff --git a/dev-java/kunststoff/Manifest b/dev-java/kunststoff/Manifest
new file mode 100644
index 000000000000..82970b1bda36
--- /dev/null
+++ b/dev-java/kunststoff/Manifest
@@ -0,0 +1,5 @@
+MD5 e2eda23a1e88c40bf2420cd2ef7a75a2 ChangeLog 281
+MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310
+MD5 ee38dd02bc6119bdf9d6d87b1ad18bab kunststoff-2.0.2.ebuild 909
+MD5 3f4889611bc0a103724a6491551e6067 files/build.xml 1335
+MD5 59f0e167a8125279da4aa129e2b558eb files/digest-kunststoff-2.0.2 64
diff --git a/dev-java/kunststoff/files/build.xml b/dev-java/kunststoff/files/build.xml
new file mode 100644
index 000000000000..d8174fcf4ead
--- /dev/null
+++ b/dev-java/kunststoff/files/build.xml
@@ -0,0 +1,50 @@
+<?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}" />
+ </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/files/digest-kunststoff-2.0.2 b/dev-java/kunststoff/files/digest-kunststoff-2.0.2
new file mode 100644
index 000000000000..9fa0776f4a3c
--- /dev/null
+++ b/dev-java/kunststoff/files/digest-kunststoff-2.0.2
@@ -0,0 +1 @@
+MD5 d6103e5a570560d0624ca8f515c78e66 kunststoff-2_0_2.zip 77078
diff --git a/dev-java/kunststoff/kunststoff-2.0.2.ebuild b/dev-java/kunststoff/kunststoff-2.0.2.ebuild
new file mode 100644
index 000000000000..bd018e53b4e7
--- /dev/null
+++ b/dev-java/kunststoff/kunststoff-2.0.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/kunststoff/kunststoff-2.0.2.ebuild,v 1.1 2004/12/20 17:30:25 karltk Exp $
+
+inherit java-pkg
+
+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="~x86 ~amd64"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4
+ jikes? ( >=dev-java/jikes-1.21 )
+ >=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 .
+}
+
+src_compile() {
+ local antflags="jar"
+ if use doc; then
+ antflags="${antflags} docs"
+ fi
+ if use jikes; then
+ antflags="${antflags} -Dbuild.compiler=jikes"
+ fi
+ ant ${antflags} || die "failed to build"
+}
+
+src_install() {
+ java-pkg_dojar dist/kunststoff.jar
+
+ dodoc licence.txt
+ if use doc; then
+ java-pkg_dohtml -r docs/*
+ fi
+}
diff --git a/dev-java/kunststoff/metadata.xml b/dev-java/kunststoff/metadata.xml
new file mode 100644
index 000000000000..94261c02f848
--- /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>