diff options
author | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-05-26 12:54:35 +0000 |
---|---|---|
committer | Zsolt Udvari <uzsolt@FreeBSD.org> | 2024-05-26 12:58:48 +0000 |
commit | 213cf72cc0edd95c93616969413bf95e3be7ca96 (patch) | |
tree | 03a25151960b4e7486b97420b861973c61bd0b77 | |
parent | 75d2c78558aae11c767ace3f1744a946e51ffd75 (diff) | |
download | ports-213cf72cc0edd95c93616969413bf95e3be7ca96.tar.gz ports-213cf72cc0edd95c93616969413bf95e3be7ca96.zip |
textproc/R-cran-tth: New port: Convert TeX/LaTeX to HTML/MathML
C source code and R wrappers for the tth/ttm TeX-to-HTML/MathML translators.
The R package tth ships the C sources for convenient compilation and
installation on all platforms.
It also provides wrappers in R to process R character vectors with the
command line tools directly from the R prompt.
The textproc/tth port ships `tth' binary but the two sources differ.
The `ttm' binary isn't available in the ports tree.
Approved by: diizzy (mentor)
Differential Revision: https://reviews.freebsd.org/D44696
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/R-cran-tth/Makefile | 18 | ||||
-rw-r--r-- | textproc/R-cran-tth/distinfo | 3 | ||||
-rw-r--r-- | textproc/R-cran-tth/pkg-descr | 2 |
4 files changed, 24 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 505f3ddb7225..94339494944b 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -29,6 +29,7 @@ SUBDIR += R-cran-spelling SUBDIR += R-cran-stringi SUBDIR += R-cran-stringr + SUBDIR += R-cran-tth SUBDIR += R-cran-utf8 SUBDIR += R-cran-vroom SUBDIR += R-cran-xml2 diff --git a/textproc/R-cran-tth/Makefile b/textproc/R-cran-tth/Makefile new file mode 100644 index 000000000000..3501f7d52ca8 --- /dev/null +++ b/textproc/R-cran-tth/Makefile @@ -0,0 +1,18 @@ +PORTNAME= tth +DISTVERSION= 4.12-0-1 +CATEGORIES= textproc +DISTNAME= ${PORTNAME}_${DISTVERSION} + +MAINTAINER= uzsolt@FreeBSD.org +COMMENT= R wrappers for the tth/ttm TeX-to-HTML/MathML translators +WWW= https://cran.r-project.org/web/packages/tth/ + +LICENSE= GPLv2 + +USES= cran:auto-plist,compiles + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/R/library/tth/libs/tth + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/R/library/tth/libs/ttm + +.include <bsd.port.mk> diff --git a/textproc/R-cran-tth/distinfo b/textproc/R-cran-tth/distinfo new file mode 100644 index 000000000000..f5c4fb5c7390 --- /dev/null +++ b/textproc/R-cran-tth/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1712664269 +SHA256 (tth_4.12-0-1.tar.gz) = a183e1c5fee82d115796edf35dbf233d539aa0a57cb6f61ea002a2ae5328b369 +SIZE (tth_4.12-0-1.tar.gz) = 566998 diff --git a/textproc/R-cran-tth/pkg-descr b/textproc/R-cran-tth/pkg-descr new file mode 100644 index 000000000000..f3e956f71b72 --- /dev/null +++ b/textproc/R-cran-tth/pkg-descr @@ -0,0 +1,2 @@ +C source code and R wrappers for the tth/ttm +TeX-to-HTML/MathML translators. |