diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-05 23:55:56 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-01-05 23:55:56 +0000 |
commit | 3a61c0e7c0a5d996be27d28381ad8fc7945a51bd (patch) | |
tree | 727afc0865d536d180aa5d1a4b20d88751226855 /dev-java/jgoodies-looks | |
parent | new dev snapshot. clean out old ebuilds. (Manifest recommit) (diff) | |
download | gentoo-2-3a61c0e7c0a5d996be27d28381ad8fc7945a51bd.tar.gz gentoo-2-3a61c0e7c0a5d996be27d28381ad8fc7945a51bd.tar.bz2 gentoo-2-3a61c0e7c0a5d996be27d28381ad8fc7945a51bd.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/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/jgoodies-looks/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jgoodies-looks/files/build.xml | 83 | ||||
-rw-r--r-- | dev-java/jgoodies-looks/files/digest-jgoodies-looks-1.2.2 | 1 | ||||
-rw-r--r-- | dev-java/jgoodies-looks/files/plastic.txt | 8 | ||||
-rw-r--r-- | dev-java/jgoodies-looks/jgoodies-looks-1.2.2.ebuild | 47 | ||||
-rw-r--r-- | dev-java/jgoodies-looks/metadata.xml | 5 |
7 files changed, 160 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..4a20ccb2f467 --- /dev/null +++ b/dev-java/jgoodies-looks/Manifest @@ -0,0 +1,5 @@ +MD5 803d6587ed629528327fb9733a492483 jgoodies-looks-1.2.2.ebuild 1000 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 15cde7bcfb76ac46139e101823ff4401 files/digest-jgoodies-looks-1.2.2 61 +MD5 f237f515cdae3f2d57a487ea09a68880 files/plastic.txt 308 +MD5 ac1b6983fb616dc50e18e769eeaa0ff7 files/build.xml 3047 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> |