-
Notifications
You must be signed in to change notification settings - Fork 725
/
Makefile
30 lines (23 loc) · 889 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
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>