From: Stefan Briesenick Date: Sun, 11 Mar 2007 20:16:31 +0000 (+0000) Subject: initial commit. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7a05391ee0491b5d743de715758aeb653940cd70;p=gentoo.git initial commit. Package-Manager: portage-2.1.2-r2 --- 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 +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 @@ + + + + java + + sbriesen@gentoo.org + Stefan Briesenick + + + 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. + +