aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tom111@gmx.de>2010-09-30 23:01:07 +0200
committerThomas Kahle <tom111@gmx.de>2010-09-30 23:01:07 +0200
commit4dd1f513f66dbd2876e62fdf01b59f7641da51b7 (patch)
tree93b0a57be03c655e94bc44f29fb159ede12ae1be /dev-java
parentdev-java/jlatexmath bump due to Dmitry S. Kulyabov in bug #301048 (diff)
downloadsci-4dd1f513f66dbd2876e62fdf01b59f7641da51b7.tar.gz
sci-4dd1f513f66dbd2876e62fdf01b59f7641da51b7.tar.bz2
sci-4dd1f513f66dbd2876e62fdf01b59f7641da51b7.zip
Initial upload of dev-java/jlatexmat-fop
Ebuild by Dmitry S. Kulyabov in bug 301048
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jlatexmath-fop/ChangeLog10
-rw-r--r--dev-java/jlatexmath-fop/Manifest5
-rw-r--r--dev-java/jlatexmath-fop/jlatexmath-fop-0.9.3.ebuild47
-rw-r--r--dev-java/jlatexmath-fop/metadata.xml10
4 files changed, 72 insertions, 0 deletions
diff --git a/dev-java/jlatexmath-fop/ChangeLog b/dev-java/jlatexmath-fop/ChangeLog
new file mode 100644
index 000000000..1dc583167
--- /dev/null
+++ b/dev-java/jlatexmath-fop/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jlatexmath-fop
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*jlatexmath-fop-0.9.3 (30 Sep 2010)
+
+ 30 Sep 2010; Thomas Kahle <tom111@gmx.de> +jlatexmath-fop-0.9.3.ebuild,
+ +metadata.xml:
+ Initial upload. Ebuild by Dmitry S. Kulyabov in bug 301048
+
diff --git a/dev-java/jlatexmath-fop/Manifest b/dev-java/jlatexmath-fop/Manifest
new file mode 100644
index 000000000..4116a928c
--- /dev/null
+++ b/dev-java/jlatexmath-fop/Manifest
@@ -0,0 +1,5 @@
+DIST jlatexmath-src-all-0.9.3.jar 1092337 RMD160 4edf68cbdc2d20ef95a1d20dc612e078af2b34b0 SHA1 fce553191834eae4793f2b8f386b0aaac49ff99d SHA256 88b54226800d0811e1e927730b991557f80429d952da70ef220b2a9251c4998b
+EBUILD jlatexmath-fop-0.9.3.ebuild 1541 RMD160 66e9a7e6273b74816c069453a9ccbf796d05b5b8 SHA1 c36a500884dd0bde83dc73dad489fd99941a598d SHA256 c2b317e5cc49f98e8b883dfdd08ccc272d3b51fe96f8e0bad46664ff14c96eac
+MISC #ChangeLog.new# 209 RMD160 a4540615a21f165b52be21b5fc8e7ca55de0a63c SHA1 6d0d8c24644c79f4f23f0e1d4bfc75f1d17aeea8 SHA256 9b5b4262c7077680af00ba7697f081f1c17b9e3a3007c55656b8a62c6638dae7
+MISC ChangeLog 314 RMD160 ee4237ecc5cafbf094a2268e78c2f83657a95983 SHA1 f638d2b00f855e35b388074fb0e2e06e829b9bc2 SHA256 76e7077424df7f1bf2d49db956c20e28d17a8c329debb0d69a7e5f18502acf11
+MISC metadata.xml 404 RMD160 564fa6c3605e18e378bddfee951ca495f994fda2 SHA1 ceff5dd3acfa6063c4ae898e4263f4567162aecb SHA256 9af95ce6716632596310f9aefd149eed6e1957c7a99448fe80c792aa05913be6
diff --git a/dev-java/jlatexmath-fop/jlatexmath-fop-0.9.3.ebuild b/dev-java/jlatexmath-fop/jlatexmath-fop-0.9.3.ebuild
new file mode 100644
index 000000000..79f70b426
--- /dev/null
+++ b/dev-java/jlatexmath-fop/jlatexmath-fop-0.9.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="jlatexmath plugin for dev-java/fop"
+SRC_URI="http://forge.scilab.org/index.php/p/jlatexmath/downloads/136/get/ -> jlatexmath-src-all-${PV}.jar"
+HOMEPAGE="http://forge.scilab.org/index.php/p/jlatexmath"
+
+IUSE="doc examples source"
+DEPEND=">=virtual/jdk-1.5
+ dev-java/jlatexmath
+ dev-java/avalon-framework
+ dev-java/fop"
+RDEPEND=${DEPEND}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+EANT_BUILD_TARGET="buildJar"
+EANT_DOC_TARGET="doc"
+
+S="${WORKDIR}"/plugin/fop
+
+src_prepare() {
+ cd "${WORKDIR}"
+ sed -i -e "s:/usr/share/java/fop.jar:$(java-pkg_getjar fop fop.jar):g" \
+ -e "s:/usr/share/java/xmlgraphics-commons.jar:$(java-pkg_getjar xmlgraphics-commons-1.3 xmlgraphics-commons.jar):g" \
+ -e "s:/usr/share/java/batik.jar:$(java-pkg_getjar batik-1.7 batik-all.jar):g" \
+ -e "s:/usr/share/java/avalon-framework.jar:$(java-pkg_getjar avalon-framework-4.2 avalon-framework.jar):g" \
+ -e "s:/usr/share/java/commons-io.jar:$(java-pkg_getjar commons-io-1 commons-io.jar):g" \
+ -e "s:/usr/share/java/commons-logging.jar:$(java-pkg_getjar commons-logging commons-logging.jar):g" \
+ -e "s:/usr/share/java/xml-apis-ext.jar:$(java-pkg_getjar xml-commons-external-1.3 xml-apis-ext.jar):g" \
+ fop.properties
+}
+
+src_install() {
+ java-pkg_newjar dist/${P}.jar ${PN}.jar
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc src/org
+}
diff --git a/dev-java/jlatexmath-fop/metadata.xml b/dev-java/jlatexmath-fop/metadata.xml
new file mode 100644
index 000000000..d5d977c86
--- /dev/null
+++ b/dev-java/jlatexmath-fop/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+ LaTeXmath library provides a set of Java classes for displaying
+ (complex) mathematical formulas as part of a Java application with
+ LateX style. This package installs the plugin for dev-java/fop.
+</longdescription>
+</pkgmetadata>