initial commit.
authorStefan Briesenick <sbriesen@gentoo.org>
Sun, 11 Mar 2007 20:16:31 +0000 (20:16 +0000)
committerStefan Briesenick <sbriesen@gentoo.org>
Sun, 11 Mar 2007 20:16:31 +0000 (20:16 +0000)
Package-Manager: portage-2.1.2-r2

dev-java/browserlauncher2/ChangeLog [new file with mode: 0644]
dev-java/browserlauncher2/browserlauncher2-1.0.ebuild [new file with mode: 0644]
dev-java/browserlauncher2/files/digest-browserlauncher2-1.0 [new file with mode: 0644]
dev-java/browserlauncher2/metadata.xml [new file with mode: 0644]

diff --git a/dev-java/browserlauncher2/ChangeLog b/dev-java/browserlauncher2/ChangeLog
new file mode 100644 (file)
index 0000000..e0d3514
--- /dev/null
@@ -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 (file)
index 0000000..da20db0
--- /dev/null
@@ -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 (file)
index 0000000..9fcc052
--- /dev/null
@@ -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 (file)
index 0000000..c000ed5
--- /dev/null
@@ -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>