mirror of
https://git.freebsd.org/ports.git
synced 2025-05-02 19:46:41 -04:00
The following features have been added or changed: - Instead of USE_JAVA use USES=java. This defaults to USES=java:build,run if NO_BUILD is undefined. Else it defaults to USES=java:run - Instead of USE_ANT=yes use USES=java:ant which also implies USES=java:build - Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or extract - Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply build or run - Instead of JAVA_RUN=yes use USES=java:run does not imply extract or build - Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version> Approved by: mat (portmgr), glewis Differential Revision: https://reviews.freebsd.org/D48201
30 lines
887 B
Makefile
30 lines
887 B
Makefile
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= ports@FreeBSD.org
|
|
COMMENT= Java API to display mathematical formulas written in LaTeX
|
|
WWW= https://wiki.scilab.org/JLaTeXMath
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${JAVALIBDIR}/xmlgraphics-commons.jar:graphics/xmlgraphics-commons
|
|
|
|
USES= java
|
|
|
|
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>
|