1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/math/jlatexmath/Makefile
2021-04-06 16:31:07 +02:00

32 lines
887 B
Makefile

# Created by: rfarmer@predatorlabs.net
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= yes
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>