aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jlatexmath-fop')
-rw-r--r--dev-java/jlatexmath-fop/ChangeLog6
-rw-r--r--dev-java/jlatexmath-fop/Manifest1
-rw-r--r--dev-java/jlatexmath-fop/jlatexmath-fop-1.0.0.ebuild52
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/jlatexmath-fop/ChangeLog b/dev-java/jlatexmath-fop/ChangeLog
index 114d8986f..64edc6043 100644
--- a/dev-java/jlatexmath-fop/ChangeLog
+++ b/dev-java/jlatexmath-fop/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*jlatexmath-fop-1.0.0 (25 Sep 2012)
+
+ 25 Sep 2012; Guillaume Horel <guillaume.horel@gmail.com>
+ +jlatexmath-fop-1.0.0.ebuild:
+ version bump
+
07 Jul 2012; S├ębastien Fabbro <bicatali@gentoo.org>
-jlatexmath-fop-0.9.4.ebuild:
dev-java/jlatexmath-fop: remove old
diff --git a/dev-java/jlatexmath-fop/Manifest b/dev-java/jlatexmath-fop/Manifest
index 0541049ef..b3a18c0c6 100644
--- a/dev-java/jlatexmath-fop/Manifest
+++ b/dev-java/jlatexmath-fop/Manifest
@@ -1 +1,2 @@
DIST jlatexmath-src-all-0.9.7.zip 1177126 SHA256 f27772c54e438034ea5cd70fc53b5cef8775578b50b41597bf23e2960c98d4f6 SHA512 1d2f1e66ec55f90e81bf7c4ffe1719589de2527f40fb7872e6e653ca2deb31f5fe6da6f3a90a608e3df02be4b625485403cc1d1d4a2b4738ecf5f2f35604c816 WHIRLPOOL 408f19aca68d494a75b452efdec8d2be1a295e04dafff934715a7af934068edb176b101ef8bd56f07a89a8bf8bb6040a646f83429c8ce706991bb39271c70dd1
+DIST jlatexmath-src-all-1.0.0.zip 1177772 SHA256 0e21fa493d30e878ee533f372ffd4d51cc85084a83c7fc79bf4f89a9d9b7268e SHA512 0d5dcb3d2b02c98be6cf17fa9fe313c4694bc353755b958bdfd3e1da83a99d5447fcb742c7e7bd0cc97a0face0b89dc7f8668abb7f7eb8f7753868986cca1b0f WHIRLPOOL e723c2a86aafcb84e6dec4199ed5df58478e0800a3039f777b89c372c87229c429af936cf0b134fc8f43e8b3f23684606500fa6f81b308132296bdc74d18482a
diff --git a/dev-java/jlatexmath-fop/jlatexmath-fop-1.0.0.ebuild b/dev-java/jlatexmath-fop/jlatexmath-fop-1.0.0.ebuild
new file mode 100644
index 000000000..76f95070f
--- /dev/null
+++ b/dev-java/jlatexmath-fop/jlatexmath-fop-1.0.0.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="1"
+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
+}