summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Briesenick <sbriesen@gentoo.org>2007-03-11 20:16:31 +0000
committerStefan Briesenick <sbriesen@gentoo.org>2007-03-11 20:16:31 +0000
commit7a05391ee0491b5d743de715758aeb653940cd70 (patch)
treebd27f44d4b95bb9b53a26ffe82e1428fc1954f0a /dev-java
parentRevision bump to address #170058 and to use recently released jline-0.9.91 so... (diff)
downloadhistorical-7a05391ee0491b5d743de715758aeb653940cd70.tar.gz
historical-7a05391ee0491b5d743de715758aeb653940cd70.tar.bz2
historical-7a05391ee0491b5d743de715758aeb653940cd70.zip
initial commit.
Package-Manager: portage-2.1.2-r2
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/browserlauncher2/ChangeLog10
-rw-r--r--dev-java/browserlauncher2/browserlauncher2-1.0.ebuild48
-rw-r--r--dev-java/browserlauncher2/files/digest-browserlauncher2-1.03
-rw-r--r--dev-java/browserlauncher2/metadata.xml15
4 files changed, 76 insertions, 0 deletions
diff --git a/dev-java/browserlauncher2/ChangeLog b/dev-java/browserlauncher2/ChangeLog
new file mode 100644
index 000000000000..e0d3514bf89d
--- /dev/null
+++ b/dev-java/browserlauncher2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/browserlauncher2
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/browserlauncher2/ChangeLog,v 1.1 2007/03/11 20:16:31 sbriesen Exp $
+
+*browserlauncher2-1.0 (11 Mar 2007)
+
+ 11 Mar 2007; Stefan Briesenick <sbriesen@gentoo.org> +metadata.xml,
+ +browserlauncher2-1.0.ebuild:
+ initial commit.
+
diff --git a/dev-java/browserlauncher2/browserlauncher2-1.0.ebuild b/dev-java/browserlauncher2/browserlauncher2-1.0.ebuild
new file mode 100644
index 000000000000..da20db02eb59
--- /dev/null
+++ b/dev-java/browserlauncher2/browserlauncher2-1.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/browserlauncher2/browserlauncher2-1.0.ebuild,v 1.1 2007/03/11 20:16:31 sbriesen Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_PV="${PV//.}"
+MY_PN="BrowserLauncher2"
+
+DESCRIPTION="BrowserLauncher2 is a library that facilitates opening a browser from a Java application"
+HOMEPAGE="http://browserlaunch2.sourceforge.net/"
+SRC_URI="mirror://sourceforge/browserlaunch2/${MY_PN}-all-${MY_PV}.jar"
+
+LICENSE="LGPL-2.1"
+SLOT="1.0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc source"
+
+RDEPEND=">=virtual/jre-1.4"
+
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ dev-java/ant-core
+ source? ( app-arch/zip )"
+
+S="${WORKDIR}"
+
+ant_src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # fixing build.xml
+ sed -i -e "s: includes=\"\*\*/\*\.class\"::g" build.xml
+}
+
+src_compile() {
+ eant build $(use_doc api)
+}
+
+src_install() {
+ java-pkg_dojar deployment/*.jar
+ java-pkg_dolauncher BrowserLauncherTestApp-${SLOT} \
+ --main "edu.stanford.ejalbert.testing.BrowserLauncherTestApp"
+
+ dodoc README*
+ use doc && java-pkg_dojavadoc api
+ use source && java-pkg_dosrc source
+}
diff --git a/dev-java/browserlauncher2/files/digest-browserlauncher2-1.0 b/dev-java/browserlauncher2/files/digest-browserlauncher2-1.0
new file mode 100644
index 000000000000..9fcc0528699c
--- /dev/null
+++ b/dev-java/browserlauncher2/files/digest-browserlauncher2-1.0
@@ -0,0 +1,3 @@
+MD5 695f1d4db4751a0768733c105abc8735 BrowserLauncher2-all-10.jar 165855
+RMD160 c401ffffdf95adc712e063547123e42623bcaeb5 BrowserLauncher2-all-10.jar 165855
+SHA256 b02238af43e3d2b44d3c3208cc75bacc3f46846e2f0f060427cd32e95094ca6b BrowserLauncher2-all-10.jar 165855
diff --git a/dev-java/browserlauncher2/metadata.xml b/dev-java/browserlauncher2/metadata.xml
new file mode 100644
index 000000000000..c000ed576292
--- /dev/null
+++ b/dev-java/browserlauncher2/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>
+ <maintainer>
+ <email>sbriesen@gentoo.org</email>
+ <name>Stefan Briesenick</name>
+ </maintainer>
+ <longdescription lang="en">
+ BrowserLauncher2, a continuation of the BrowserLauncher project, is a
+ library that facilitates opening a browser from a Java application and
+ directing the browser to a supplied url. In most cases the browser
+ opened will be the user's default browser.
+ </longdescription>
+</pkgmetadata>