Files

46 lines
1.3 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup java 1.0
name jlatexmath
version 1.0.7
revision 0
categories java tex
supported_archs noarch
platforms any
license GPL-2
maintainers {judaew @judaew} openmaintainer
description A Java API to render LaTeX
long_description \
JLaTeXMath is a Java library. Its main purpose is to display mathematical \
formulas written in LaTeX. JLaTeXMath is the best Java library to display \
LaTeX code.
homepage https://github.com/opencollab/jlatexmath
master_sites \
https://repo1.maven.org/maven2/org/scilab/forge/${name}/${version}/
distfiles ${name}-${version}.jar
checksums rmd160 c847da3d6282c1df8d513feff5ef62db169d079d \
sha256 6d04c3843fc98d2eea9ba4cff0be7b80540ca75c5a4e0b3463fd1219c48cc65d \
size 669575
extract {
copy ${distpath}/${distfiles} ${workpath}/${name}.jar
}
java.version 1.7+
java.fallback openjdk11
use_configure no
build {}
destroot {
xinstall -d -m 0755 ${destroot}${prefix}/share/java
xinstall -m 0644 ${workpath}/${name}.jar ${destroot}${prefix}/share/java
}