freebsd-ports/math/jlatexmath/Makefile
Max Brazhnikov 5b4829585a math/jlatexmath:
- Update to 1.0.7
- Switch to the binary distribution since building from the sources
  requires maven
- Remove FOP option and install fop plugin unconditionally: jlatexmath
  is solely used by math/scilab only and it needs fop.
- Update WWW
2019-08-21 19:43:32 +00:00

32 lines
900 B
Makefile

# Created by: rfarmer@predatorlabs.net
# $FreeBSD$
PORTNAME= jlatexmath
PORTVERSION= 1.0.7
CATEGORIES= math java
MASTER_SITES= https://repo1.maven.org/maven2/org/scilab/forge/jlatexmath/${PORTVERSION}/:0 \
https://repo1.maven.org/maven2/org/scilab/forge/jlatexmath-fop/${PORTVERSION}/:1
DISTFILES= ${PORTNAME}-${PORTVERSION}.jar:0 \
${PORTNAME}-fop-${PORTVERSION}.jar:1
EXTRACT_ONLY= # none
MAINTAINER= makc@FreeBSD.org
COMMENT= Java API to display mathematical formulas written in LaTeX
LICENSE= GPLv2
RUN_DEPENDS= ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons
USE_JAVA= 1.7+
NO_ARCH= yes
NO_BUILD= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
do-install:
.for f in jlatexmath jlatexmath-fop
${INSTALL_DATA} ${DISTDIR}/${f}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}
${LN} -sf ${f}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${f}.jar
.endfor
.include <bsd.port.mk>