diff --git a/math/Makefile b/math/Makefile index 564de28c6b05..b6380e7ed042 100644 --- a/math/Makefile +++ b/math/Makefile @@ -132,6 +132,7 @@ SUBDIR += jama SUBDIR += javanns SUBDIR += javaview + SUBDIR += jeuclid SUBDIR += jlatexmath SUBDIR += jsmath SUBDIR += jsmath-fonts diff --git a/math/jeuclid/Makefile b/math/jeuclid/Makefile new file mode 100644 index 000000000000..13dc7ed79b65 --- /dev/null +++ b/math/jeuclid/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: jeuclid +# Date created: 11 February 2010 +# Whom: rfarmer@predatorlabs.net +# +# $FreeBSD$ +# + +PORTNAME= jeuclid +PORTVERSION= 3.1.8 +CATEGORIES= math java +MASTER_SITES= SF/${PORTNAME}/3.1.x/${PORTVERSION}/ +EXTRACT_SUFX= -distribution.zip + +MAINTAINER= rfarmer@predatorlabs.net +COMMENT= Java based MathML rendering solution + +USE_JAVA= yes +JAVA_VERSION= 1.5+ +JAVA_RUN= yes +NO_BUILD= yes + +DATADIR= ${JAVASHAREDIR}/${PORTNAME} + +post-patch: + ${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/foprep + ${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/listfonts + ${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/mathviewer + ${REINPLACE_CMD} -e 's|BASEDIR=`dirname $$0`/..|BASEDIR=${DATADIR}|g' ${WRKSRC}/bin/mml2xxx + +do-install: + ${MKDIR} ${DATADIR}/repo + (cd ${WRKSRC}/repo/ && ${COPYTREE_SHARE} \* ${DATADIR}/repo/) + ${INSTALL_SCRIPT} ${WRKSRC}/bin/foprep ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/listfonts ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/mathviewer ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/bin/mml2xxx ${PREFIX}/bin + +.include diff --git a/math/jeuclid/distinfo b/math/jeuclid/distinfo new file mode 100644 index 000000000000..7febf5f94b1e --- /dev/null +++ b/math/jeuclid/distinfo @@ -0,0 +1,3 @@ +MD5 (jeuclid-3.1.8-distribution.zip) = d61527a08f2be080f99082eb5a8f4e71 +SHA256 (jeuclid-3.1.8-distribution.zip) = d52d669d3931093c24987a48f83275aac509352654ac81ddb96cd8d9bb138974 +SIZE (jeuclid-3.1.8-distribution.zip) = 7448045 diff --git a/math/jeuclid/pkg-descr b/math/jeuclid/pkg-descr new file mode 100644 index 000000000000..57724db7f84b --- /dev/null +++ b/math/jeuclid/pkg-descr @@ -0,0 +1,6 @@ +JEuclid is a complete MathML rendering solution, consisting of: a MathViewer +application, command line converters from MathML to other formats, an ant +task for autmated conversion, display components for AWT and Swing and a +component for Apache Cocoon. + +WWW: http://jeuclid.sourceforge.net/ diff --git a/math/jeuclid/pkg-plist b/math/jeuclid/pkg-plist new file mode 100644 index 000000000000..e4e4cd2ae30d --- /dev/null +++ b/math/jeuclid/pkg-plist @@ -0,0 +1,46 @@ +bin/foprep +bin/listfonts +bin/mathviewer +bin/mml2xxx +%%DATADIR%%/repo/freehep-graphicsio-ps-2.1.1.jar +%%DATADIR%%/repo/freehep-graphicsio-gif-1.2.3.jar +%%DATADIR%%/repo/xml-apis-ext-1.3.04.jar +%%DATADIR%%/repo/AppleJavaExtensions-1.2.jar +%%DATADIR%%/repo/batik-xml-1.7.jar +%%DATADIR%%/repo/commons-logging-1.1.1.jar +%%DATADIR%%/repo/freehep-io-2.0.2.jar +%%DATADIR%%/repo/batik-ext-1.7.jar +%%DATADIR%%/repo/freehep-swing-2.0.3.jar +%%DATADIR%%/repo/jeuclid-mathviewer-3.1.8.jar +%%DATADIR%%/repo/batik-svggen-1.7.jar +%%DATADIR%%/repo/batik-util-1.7.jar +%%DATADIR%%/repo/freehep-export-2.1.1.jar +%%DATADIR%%/repo/batik-dom-1.7.jar +%%DATADIR%%/repo/jeuclid-fop-3.1.8.jar +%%DATADIR%%/repo/freehep-util-2.0.2.jar +%%DATADIR%%/repo/xml-apis-1.3.04.jar +%%DATADIR%%/repo/batik-css-1.7.jar +%%DATADIR%%/repo/openide-lookup-1.9-patched-1.0.jar +%%DATADIR%%/repo/batik-parser-1.7.jar +%%DATADIR%%/repo/stix-fonts-1.0-beta-2.jar +%%DATADIR%%/repo/freehep-graphicsio-swf-2.1.1.jar +%%DATADIR%%/repo/commons-lang-2.4.jar +%%DATADIR%%/repo/jeuclid-swt-3.1.8.jar +%%DATADIR%%/repo/dejavu-fonts-2.29.jar +%%DATADIR%%/repo/commons-cli-1.2.jar +%%DATADIR%%/repo/freehep-graphicsio-2.1.1.jar +%%DATADIR%%/repo/freehep-graphics2d-2.1.1.jar +%%DATADIR%%/repo/maven-metadata-appassembler.xml +%%DATADIR%%/repo/jeuclid-core-3.1.8.jar +%%DATADIR%%/repo/jeuclid-cli-3.1.8.jar +%%DATADIR%%/repo/xmlgraphics-commons-1.3.1.jar +%%DATADIR%%/repo/jdom-1.0.jar +%%DATADIR%%/repo/batik-svg-dom-1.7.jar +%%DATADIR%%/repo/freehep-graphicsio-pdf-2.1.1.jar +%%DATADIR%%/repo/freehep-graphicsio-emf-2.1.1.jar +%%DATADIR%%/repo/commons-io-1.3.1.jar +%%DATADIR%%/repo/batik-anim-1.7.jar +%%DATADIR%%/repo/ams-fonts-1.0.jar +%%DATADIR%%/repo/batik-awt-util-1.7.jar +@dirrm %%DATADIR%%/repo +@dirrm %%DATADIR%%