summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-01-05 23:55:56 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-01-05 23:55:56 +0000
commite3a58cd47aa916645367ad222b6a5efe94bdd799 (patch)
tree0a0dd0e5219d5bece6f8d91128781f4db0661cd1 /dev-java/jgoodies-looks
parentnew dev snapshot. clean out old ebuilds. (diff)
downloadhistorical-e3a58cd47aa916645367ad222b6a5efe94bdd799.tar.gz
historical-e3a58cd47aa916645367ad222b6a5efe94bdd799.tar.bz2
historical-e3a58cd47aa916645367ad222b6a5efe94bdd799.zip
Initial import. Ebuild contributed by Saleem A. <compnerd@gentoo.org>. Fixes #74996.
Diffstat (limited to 'dev-java/jgoodies-looks')
-rw-r--r--dev-java/jgoodies-looks/ChangeLog11
-rw-r--r--dev-java/jgoodies-looks/Manifest6
-rw-r--r--dev-java/jgoodies-looks/files/build.xml83
-rw-r--r--dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.2.21
-rw-r--r--dev-java/jgoodies-looks/files/plastic.txt8
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-1.2.2.ebuild47
-rw-r--r--dev-java/jgoodies-looks/metadata.xml5
7 files changed, 161 insertions, 0 deletions
diff --git a/dev-java/jgoodies-looks/ChangeLog b/dev-java/jgoodies-looks/ChangeLog
new file mode 100644
index 000000000000..79f434dd900e
--- /dev/null
+++ b/dev-java/jgoodies-looks/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/jgoodies-looks
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/ChangeLog,v 1.1 2005/01/05 23:55:56 luckyduck Exp $
+
+*jgoodies-looks-1.2.2 (06 Jan 2005)
+
+ 06 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +files/build.xml, +files/plastic.txt, +jgoodies-looks-1.2.2.ebuild:
+ Initial import. Ebuild contributed by Saleem A. <compnerd@gentoo.org>. Fixes
+ #74996.
+
diff --git a/dev-java/jgoodies-looks/Manifest b/dev-java/jgoodies-looks/Manifest
new file mode 100644
index 000000000000..d4e75b9db53f
--- /dev/null
+++ b/dev-java/jgoodies-looks/Manifest
@@ -0,0 +1,6 @@
+MD5 3f1ce57bd38e05f4741590b10385df08 jgoodies-looks-1.2.2.ebuild 1115
+MD5 83de896cea7f37df507fed8cefd923f6 ChangeLog 486
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 15cde7bcfb76ac46139e101823ff4401 files/digest-jgoodies-looks-1.2.2 61
+MD5 f237f515cdae3f2d57a487ea09a68880 files/plastic.txt 308
+MD5 f2327a59fd8b52b1c605777974da8c3d files/build.xml 3045
diff --git a/dev-java/jgoodies-looks/files/build.xml b/dev-java/jgoodies-looks/files/build.xml
new file mode 100644
index 000000000000..86095bd21cd6
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/build.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+
+<project name="Plastic" default="jar" basedir=".">
+
+ <!-- This is a customized build.xml for portage! -->
+ <!--
+ <property file="${basedir}/build.properties"/>
+ <property file="${basedir}/default.properties"/>
+ -->
+
+ <property name="build" value="${basedir}/build"/>
+
+ <property name="spec.title" value="JGoodies Looks"/>
+ <property name="spec.version" value="1.2"/>
+ <property name="spec.vendor" value="Apache Software Foundation"/>
+ <property name="imp.title" value="com.jgoodies.plaf"/>
+ <property name="imp.version" value="1.2.2"/>
+ <property name="imp.vendor" value="Apache Software Foundation"/>
+
+ <property name="plaf.src" value="${basedir}/com/jgoodies/plaf"/>
+ <property name="clearlook.src" value="${basedir}/com/jgoodies/clearlook"/>
+
+ <property name="clearlook.javadoc" value="${build}/doc/clearlook"/>
+ <property name="clearlook.packages" value="com.jgoodies.clearlook.*"/>
+
+ <property name="plastic.javadoc" value="${build}/doc/plastic"/>
+ <property name="plastic.packages" value="com.jgoodies.clearlook.*"/>
+
+ <target name="init">
+ <tstamp />
+ <mkdir dir="${build}"/>
+ <mkdir dir="${build}/doc"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+
+ <section name="com/jgoodies/plaf">
+ <attribute name="Specification-Title" value="${spec.title}"/>
+ <attribute name="Specification-Version" value="${spec.version}"/>
+ <attribute name="Specification-Vendor" value="${spec.vendor}"/>
+ <attribute name="Implementation-Title" value="${imp.title}"/>
+ <attribute name="Implementation-Version" value="${imp.version}"/>
+ <attribute name="Implementation-Vendor" value="${imp.vendor}"/>
+ </section>
+ </manifest>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${plaf.src};${clearlook.src}"
+ destdir="${build}"
+ source="1.4"
+ target="1.4"/>
+
+ <!--
+ Copy application resources
+ NOTE: THIS MAY NEED TO BE CHANGED IN FUTURE VERSIONS!!
+ -->
+ <copy toDir="${build}/com/jgoodies/plaf">
+ <fileset dir="${plaf.src}" excludes="**/*.java"/>
+ </copy>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${clearlook.src}"
+ destdir="${clearlook.javadoc}"
+ packagenames="${clearlook.packages}"/>
+ <javadoc sourcepath="${plastic.src}"
+ destdir="${plastic.javadoc}"
+ packagenames="${plastic.packages}"/>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="looks.jar" manifest="MANIFEST.MF">
+ <fileset dir="${build}"/>
+ <zipfileset dir="${basedir}"
+ includes="plastic.txt"
+ fullpath="META-INF/services/javax.swing.LookAndFeel"/>
+ </jar>
+ </target>
+
+</project>
diff --git a/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.2.2 b/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.2.2
new file mode 100644
index 000000000000..390610143cf2
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.2.2
@@ -0,0 +1 @@
+MD5 497b1338f8da993561c64752d603a4f4 looks-1_2_2.zip 1811849
diff --git a/dev-java/jgoodies-looks/files/plastic.txt b/dev-java/jgoodies-looks/files/plastic.txt
new file mode 100644
index 000000000000..ab3737ca6a30
--- /dev/null
+++ b/dev-java/jgoodies-looks/files/plastic.txt
@@ -0,0 +1,8 @@
+# JGoodies Plastic L&F- replacement for Metal
+com.jgoodies.plaf.plastic.PlasticLookAndFeel
+# JGoodies Plastic 3D L&F
+com.jgoodies.plaf.plastic.Plastic3DLookAndFeel
+# JGoodies Plastic XP L&F
+com.jgoodies.plaf.plastic.PlasticXPLookAndFeel
+# JGoodies Windows L&F
+com.jgoodies.plaf.windows.ExtWindowsLookAndFeel
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-1.2.2.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-1.2.2.ebuild
new file mode 100644
index 000000000000..72fd84ea350c
--- /dev/null
+++ b/dev-java/jgoodies-looks/jgoodies-looks-1.2.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-looks/jgoodies-looks-1.2.2.ebuild,v 1.1 2005/01/05 23:55:56 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="JGoodies Looks Library"
+HOMEPAGE="http://www.jgoodies.com/"
+SRC_URI="http://www.jgoodies.com/download/libraries/looks-1_2_2.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc jikes"
+
+DEPEND=">=virtual/jre-1.4
+ >=dev-java/ant-core-1.4
+ app-arch/unzip
+ jikes? ( >=dev-java/jikes-1.21 )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/looks-1.2.2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ rm *.jar
+ unzip looks-1.2.2-src.zip &> /dev/null || die "Unpack Failed"
+ cp ${FILESDIR}/build.xml ${FILESDIR}/plastic.txt .
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "Compile failed"
+}
+
+src_install() {
+ java-pkg_dojar plastic.jar
+
+ dodoc LICENSE.txt RELEASE-NOTES.txt
+ if use doc ; then
+ java-pkg_dohtml -r build/doc
+ fi
+}
diff --git a/dev-java/jgoodies-looks/metadata.xml b/dev-java/jgoodies-looks/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/jgoodies-looks/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>