diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-12-10 07:28:18 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-12-10 07:28:18 +0000 |
commit | cb30f77cacb94635813028b9b62a43609bb1b506 (patch) | |
tree | 5aa84c7f1ef9eb518aa229f3e8de1256d9c5af0f /dev-java/jgoodies-binding | |
parent | Marked x86 stable for bug #112842. (diff) | |
download | gentoo-2-cb30f77cacb94635813028b9b62a43609bb1b506.tar.gz gentoo-2-cb30f77cacb94635813028b9b62a43609bb1b506.tar.bz2 gentoo-2-cb30f77cacb94635813028b9b62a43609bb1b506.zip |
Initial import of jgoodies-binding
(Portage version: 2.0.53)
Diffstat (limited to 'dev-java/jgoodies-binding')
-rw-r--r-- | dev-java/jgoodies-binding/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jgoodies-binding/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jgoodies-binding/files/build-1.0.3.xml | 65 | ||||
-rw-r--r-- | dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 | 1 | ||||
-rw-r--r-- | dev-java/jgoodies-binding/jgoodies-binding-1.0.3.ebuild | 55 | ||||
-rw-r--r-- | dev-java/jgoodies-binding/metadata.xml | 13 |
6 files changed, 149 insertions, 0 deletions
diff --git a/dev-java/jgoodies-binding/ChangeLog b/dev-java/jgoodies-binding/ChangeLog new file mode 100644 index 000000000000..9e4f863343c4 --- /dev/null +++ b/dev-java/jgoodies-binding/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jgoodies-binding +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-binding/ChangeLog,v 1.1 2005/12/10 07:28:18 compnerd Exp $ + +*jgoodies-binding-1.0.3 (10 Dec 2005) + + 10 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org> + +files/build-1.0.3.xml, +metadata.xml, +jgoodies-binding-1.0.3.ebuild: + Initial import. + diff --git a/dev-java/jgoodies-binding/Manifest b/dev-java/jgoodies-binding/Manifest new file mode 100644 index 000000000000..1a971f7adf29 --- /dev/null +++ b/dev-java/jgoodies-binding/Manifest @@ -0,0 +1,5 @@ +MD5 7bfc9d4395280e78706a902367f8dbf0 ChangeLog 313 +MD5 68431f1b226023dd457b83ab3ed57f97 files/build-1.0.3.xml 2248 +MD5 e5a01811304a9e8d32b25f12024b8f50 files/digest-jgoodies-binding-1.0.3 63 +MD5 0b9cd92018ac999a02318ed59712671c jgoodies-binding-1.0.3.ebuild 1283 +MD5 aea8a45dc0e72829e4941aa1cc096d03 metadata.xml 364 diff --git a/dev-java/jgoodies-binding/files/build-1.0.3.xml b/dev-java/jgoodies-binding/files/build-1.0.3.xml new file mode 100644 index 000000000000..ed52f8793628 --- /dev/null +++ b/dev-java/jgoodies-binding/files/build-1.0.3.xml @@ -0,0 +1,65 @@ +<?xml version="1.0"?> + +<project name="Binding" default="jar" basedir="."> + + <!-- This is a customized build.xml for portage! --> + <!-- + <property file="${basedir}/build.properties"/> + <property file="${basedir}/default.properties"/> + --> + + <!-- Specification data --> + <property name="spec.title" value="JGoodies Binding API Specification"/> + <property name="spec.version" value="1.0.3"/> + <property name="spec.vendor" value="Karsten Lentzsch"/> + + <!-- Implementation data --> + <property name="impl.title" value="JGoodies Binding"/> + <property name="impl.version" value="1.0.3"/> + <property name="impl.vender" value="Karsten Lentzsch"/> + + <!-- Directory structure information --> + <property name="build" value="${basedir}/build"/> + <property name="src" value="${basedir}/src"/> + + <!-- JavaDoc information --> + <property name="packages" value="com.jgoodies.*"/> + + <target name="init"> + <tstamp /> + <mkdir dir="${build}"/> + <mkdir dir="${build}/doc"/> + <mkdir dir="${build}/doc/api"/> + </target> + + <target name="manifest" depends="init"> + <manifest file="MANIFEST.MF" mode="update"> + <attribute name="Built-By" value="Gentoo Portage"/> + <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="${impl.title}"/> + <attribute name="Implementation-Version" value="${impl.version}"/> + <attribute name="Implementation-Vendor" value="${impl.vendor}"/> + </manifest> + </target> + + <target name="compile" depends="init"> + <javac srcdir="${src}" + destdir="${build}" + source="1.4" + target="1.4" + encoding="ISO-8859-1"/> + </target> + + <target name="javadoc" depends="compile"> + <javadoc sourcepath="${src}" packagenames="${packages}" destdir="${build}/docs/"/> + </target> + + <target name="jar" depends="compile,manifest"> + <jar jarfile="binding-${impl.version}.jar" manifest="MANIFEST.MF"> + <fileset dir="${build}"/> + </jar> + </target> + +</project> diff --git a/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 b/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 new file mode 100644 index 000000000000..2951a5719d74 --- /dev/null +++ b/dev-java/jgoodies-binding/files/digest-jgoodies-binding-1.0.3 @@ -0,0 +1 @@ +MD5 46855527948927390438e496594a309a binding-1_0_3.zip 1142957 diff --git a/dev-java/jgoodies-binding/jgoodies-binding-1.0.3.ebuild b/dev-java/jgoodies-binding/jgoodies-binding-1.0.3.ebuild new file mode 100644 index 000000000000..3a879276f37e --- /dev/null +++ b/dev-java/jgoodies-binding/jgoodies-binding-1.0.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jgoodies-binding/jgoodies-binding-1.0.3.ebuild,v 1.1 2005/12/10 07:28:18 compnerd Exp $ + +inherit java-pkg + +MY_V=${PV//./_} +DESCRIPTION="A Java library to bind object properties with UI components" +HOMEPAGE="http://www.jgoodies.com/" +SRC_URI="http://www.jgoodies.com/download/libraries/binding-${MY_V}.zip" + +LICENSE="BSD" +SLOT="1.0" +KEYWORDS="~x86" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.4.2 + dev-java/ant-core + app-arch/unzip + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4.2 + >=dev-java/jgoodies-looks-1.0.5" + +S=${WORKDIR}/binding-${PV} + +src_unpack() { + unpack ${A} || die "unpack failed" + cd ${S} + + # Clean up the directory structure + rm -rf *.jar src/ lib/ examples/ + + # Unpack the sources into the proper structure + mkdir ${S}/src && cd ${S}/src + unzip ${S}/binding-${PV}-src.zip &> /dev/null || die "unpack failed" + + # Copy the Gentoo'ized build.xml + cp ${FILESDIR}/build-${PV}.xml ${S} +} + +src_compile() { + local antflags="jar" + + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + + ant -f build-${PV}.xml ${antflags} || die "compile failed" +} + +src_install() { + java-pkg_newjar binding-${PV}.jar binding.jar + + dodoc RELEASE-NOTES.txt + use doc && java-pkg_dohtml -r build/docs/* +} diff --git a/dev-java/jgoodies-binding/metadata.xml b/dev-java/jgoodies-binding/metadata.xml new file mode 100644 index 000000000000..6d3bc19df8b7 --- /dev/null +++ b/dev-java/jgoodies-binding/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>compnerd@gentoo.org</email> + <name>Saleem Abdulrasool</name> + </maintainer> + <longdescription lang="en"> + A library to bind object properties to UI components. + </longdescription> +</pkgmetadata> + |