summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2005-03-29 05:19:01 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2005-03-29 05:19:01 +0000
commit9ceb29f02758845626d5863564bf6a033f220ea5 (patch)
treecd531d12791fe4c80cd572b019178b1d9ed3d4a9 /dev-java/toolbar
parentFixed bug #54273. aalib depended on by directfb conditional? what was I smo... (diff)
downloadgentoo-2-9ceb29f02758845626d5863564bf6a033f220ea5.tar.gz
gentoo-2-9ceb29f02758845626d5863564bf6a033f220ea5.tar.bz2
gentoo-2-9ceb29f02758845626d5863564bf6a033f220ea5.zip
Oh my, look at the toolbar!
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/toolbar')
-rw-r--r--dev-java/toolbar/ChangeLog10
-rw-r--r--dev-java/toolbar/Manifest3
-rw-r--r--dev-java/toolbar/files/build.xml19
-rw-r--r--dev-java/toolbar/files/digest-toolbar-0.41
-rw-r--r--dev-java/toolbar/metadata.xml12
-rw-r--r--dev-java/toolbar/toolbar-0.4.ebuild43
6 files changed, 88 insertions, 0 deletions
diff --git a/dev-java/toolbar/ChangeLog b/dev-java/toolbar/ChangeLog
new file mode 100644
index 000000000000..34c3c2d4fdb6
--- /dev/null
+++ b/dev-java/toolbar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/toolbar
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/toolbar/ChangeLog,v 1.1 2005/03/29 05:19:01 compnerd Exp $
+
+*toolbar-0.4 (29 Mar 2005)
+
+ 29 Mar 2005; Saleem Abdulrasool <compnerd@gentoo.org> +files/build.xml,
+ +toolbar-0.4.ebuild:
+ Initial import; Depedency for ArgoUML from source bug #63307.
+
diff --git a/dev-java/toolbar/Manifest b/dev-java/toolbar/Manifest
new file mode 100644
index 000000000000..b4bce7999333
--- /dev/null
+++ b/dev-java/toolbar/Manifest
@@ -0,0 +1,3 @@
+MD5 0b4ec7ec690923874cbab39975384445 toolbar-0.4.ebuild 965
+MD5 e5ce19963fde6a9749d952db98ef48cd files/build.xml 528
+MD5 12b4db855198c8649910a8a07208d7cf files/digest-toolbar-0.4 63
diff --git a/dev-java/toolbar/files/build.xml b/dev-java/toolbar/files/build.xml
new file mode 100644
index 000000000000..1e8125d2e6cf
--- /dev/null
+++ b/dev-java/toolbar/files/build.xml
@@ -0,0 +1,19 @@
+<project name="Toolbar" default="jar" basedir=".">
+ <property name="src" value="."/>
+ <property name="build" value="build"/>
+ <property name="dest" value="dest"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dest}"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}"/>
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar destfile="${dest}/toolbar-${version}.jar" basedir="${build}"/>
+ </target>
+</project>
diff --git a/dev-java/toolbar/files/digest-toolbar-0.4 b/dev-java/toolbar/files/digest-toolbar-0.4
new file mode 100644
index 000000000000..f144a74e95c2
--- /dev/null
+++ b/dev-java/toolbar/files/digest-toolbar-0.4
@@ -0,0 +1 @@
+MD5 835358b57950d97af26603a592f9c761 ToolBar-0.4-src.zip 76250
diff --git a/dev-java/toolbar/metadata.xml b/dev-java/toolbar/metadata.xml
new file mode 100644
index 000000000000..c74025e07608
--- /dev/null
+++ b/dev-java/toolbar/metadata.xml
@@ -0,0 +1,12 @@
+<?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">
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-java/toolbar/toolbar-0.4.ebuild b/dev-java/toolbar/toolbar-0.4.ebuild
new file mode 100644
index 000000000000..676a7a77c395
--- /dev/null
+++ b/dev-java/toolbar/toolbar-0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/toolbar/toolbar-0.4.ebuild,v 1.1 2005/03/29 05:19:01 compnerd Exp $
+
+inherit java-pkg
+
+DESCRIPTION="An improved version of JToolBar"
+HOMEPAGE="http://toolbar.tigris.org"
+SRC_URI="http://toolbar.tigris.org/files/documents/869/10303/ToolBar-0.4-src.zip"
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="as-is"
+
+IUSE="jikes"
+DEPEND=">=virtual/jdk-1.4
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jre-1.4"
+
+src_unpack() {
+ unpack ${A} || die "Unpack failed"
+
+ # Remove the CVS directories
+ find . -name 'CVS' | xargs rmdir
+
+ # Remove the src and test directores
+ mv src/org ${S}
+ rm -rf src test
+
+ # Copy over the build.xml
+ cp ${FILESDIR}/build.xml ${S} || die "Unable to copy the build file!"
+}
+
+src_compile() {
+ local antflags="-Dversion=${PV}"
+ $(use jikes) && antflags="${antflags} -Dbuild.compiler=jikes"
+
+ ant ${antflags} -f build.xml || die "Compile failed!"
+}
+
+src_install() {
+ java-pkg_dojar dest/toolbar-${PV}.jar
+}