aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jlatexmath-fop/ChangeLog8
-rw-r--r--dev-java/jlatexmath-fop/Manifest1
-rw-r--r--dev-java/jlatexmath-fop/jlatexmath-fop-0.9.7.ebuild52
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-java/jlatexmath-fop/ChangeLog b/dev-java/jlatexmath-fop/ChangeLog
index 20909fa1f..5b734e206 100644
--- a/dev-java/jlatexmath-fop/ChangeLog
+++ b/dev-java/jlatexmath-fop/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for dev-java/jlatexmath-fop
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*jlatexmath-fop-0.9.7 (14 May 2012)
+
+ 14 May 2012; S├ębastien Fabbro <bicatali@gentoo.org>
+ +jlatexmath-fop-0.9.7.ebuild:
+ Version bump
+
*jlatexmath-fop-0.9.4 (09 Jun 2011)
09 Jun 2011; Guillaume Horel <guillaume.horel@gmail.com>
diff --git a/dev-java/jlatexmath-fop/Manifest b/dev-java/jlatexmath-fop/Manifest
index fb0e7f67e..5c321c331 100644
--- a/dev-java/jlatexmath-fop/Manifest
+++ b/dev-java/jlatexmath-fop/Manifest
@@ -1 +1,2 @@
DIST jlatexmath-src-all-0.9.4.zip 1191601 RMD160 44a6af03e0188b2eb1709c7c28b8c0a31e76a75c SHA1 9e9e90325c74b44a101a9b59bf2c11a9db777577 SHA256 bf590741490dc3588b797aab33f02139b725560a6238b4607356f963dc6ad850
+DIST jlatexmath-src-all-0.9.7.zip 1177126 SHA256 f27772c54e438034ea5cd70fc53b5cef8775578b50b41597bf23e2960c98d4f6 SHA512 1d2f1e66ec55f90e81bf7c4ffe1719589de2527f40fb7872e6e653ca2deb31f5fe6da6f3a90a608e3df02be4b625485403cc1d1d4a2b4738ecf5f2f35604c816 WHIRLPOOL 408f19aca68d494a75b452efdec8d2be1a295e04dafff934715a7af934068edb176b101ef8bd56f07a89a8bf8bb6040a646f83429c8ce706991bb39271c70dd1
diff --git a/dev-java/jlatexmath-fop/jlatexmath-fop-0.9.7.ebuild b/dev-java/jlatexmath-fop/jlatexmath-fop-0.9.7.ebuild
new file mode 100644
index 000000000..0641c214c
--- /dev/null
+++ b/dev-java/jlatexmath-fop/jlatexmath-fop-0.9.7.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+JAVA_PKG_IUSE="examples source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_PN="${PN/-fop/}"
+MY_P="${P/-fop/}"
+
+DESCRIPTION="jlatexmath plugin for dev-java/fop"
+SRC_URI="http://forge.scilab.org/upload/jlatexmath/files/${MY_PN}-src-all-${PV}.zip"
+HOMEPAGE="http://forge.scilab.org/index.php/p/jlatexmath"
+
+IUSE=""
+CDEPEND="dev-java/jlatexmath
+ dev-java/avalon-framework
+ dev-java/fop"
+REPEND=">=virtual/jdk-1.5
+ ${CDEPEND}"
+RDEPEND=">=virtual/jre-1.5
+ ${CDEPEND}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+EANT_BUILD_TARGET="buildJar"
+
+S="${WORKDIR}/${MY_P}/plugin/fop"
+
+src_prepare() {
+ cd "${WORKDIR}/${MY_P}"
+ 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 || die
+}
+
+src_install() {
+ java-pkg_newjar dist/${P}.jar ${PN}.jar
+ use source && java-pkg_dosrc src/org
+ use examples && java-pkg_doexamples examples
+}