public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/betagarden:master commit in: dev-java/laf-plugin/
@ 2013-02-17  4:43 Sebastian Pipping
  0 siblings, 0 replies; only message in thread
From: Sebastian Pipping @ 2013-02-17  4:43 UTC (permalink / raw
  To: gentoo-commits

commit:     49a51e505d3a060bb2b9e0c1862acc3dd439d69b
Author:     Sebastian Pipping <sebastian <AT> pipping <DOT> org>
AuthorDate: Sat Feb 16 05:40:56 2013 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Feb 16 19:12:11 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=49a51e50

dev-java/laf-plugin: 1.0

---
 dev-java/laf-plugin/laf-plugin-1.0.ebuild |   47 +++++++++++++++++++++++++++++
 dev-java/laf-plugin/metadata.xml          |    8 +++++
 2 files changed, 55 insertions(+), 0 deletions(-)

diff --git a/dev-java/laf-plugin/laf-plugin-1.0.ebuild b/dev-java/laf-plugin/laf-plugin-1.0.ebuild
new file mode 100644
index 0000000..57700ca
--- /dev/null
+++ b/dev-java/laf-plugin/laf-plugin-1.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Plugin framework for look-and-feels"
+HOMEPAGE="http://java.net/projects/laf-plugin"
+SRC_URI="http://www.hartwork.org/public/${P}.tar.bz2"
+# i.e. a snapshot of https://svn.java.net/svn/laf-plugin~svn/tags/release_1_0_vile_weed/
+
+LICENSE="BSD"
+SLOT="1.0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=virtual/jdk-1.5"
+RDEPEND=">=virtual/jre-1.5"
+
+src_prepare() {
+	mv build{5.0,}.xml || die
+
+	# Fix java home
+	sed \
+		-e 's|\(<property name="jdk\.home\.java_version_5\.0" value="\)[^"]\+\(" />\)|\1'"${JAVA_HOME}\2|" \
+		-i build.xml || die
+
+	# Remove hard-coded memory limits
+	sed \
+		-e 's|memoryMaximumSize="[^"]*" *||g' \
+		-i build.xml || die
+
+	java-pkg-2_src_prepare
+
+	mkdir -p build/classes50 || die
+}
+
+src_compile() {
+	eant || die
+}
+
+src_install() {
+	java-pkg_newjar drop/laf-plugin-50.jar laf-plugin.jar || die
+	dodoc www/index.html || die
+}

diff --git a/dev-java/laf-plugin/metadata.xml b/dev-java/laf-plugin/metadata.xml
new file mode 100644
index 0000000..16bcc9f
--- /dev/null
+++ b/dev-java/laf-plugin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>sping@gentoo.org</email>
+		<name>Sebastian Pipping</name>
+	</maintainer>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-02-17  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-17  4:43 [gentoo-commits] proj/betagarden:master commit in: dev-java/laf-plugin/ Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox