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/browserlauncher2/browserlauncher2-1.0.ebuild
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/browserlauncher2/browserlauncher2-1.0.ebuild')
-rw-r--r--dev-java/browserlauncher2/browserlauncher2-1.0.ebuild48
1 files changed, 48 insertions, 0 deletions
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
+}