Date: Sun, 26 May 2024 12:59:56 GMT From: Zsolt Udvari <uzsolt@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 213cf72cc0ed - main - textproc/R-cran-tth: New port: Convert TeX/LaTeX to HTML/MathML Message-ID: <202405261259.44QCxuQX003528@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=213cf72cc0edd95c93616969413bf95e3be7ca96 commit 213cf72cc0edd95c93616969413bf95e3be7ca96 Author: Zsolt Udvari <uzsolt@FreeBSD.org> AuthorDate: 2024-05-26 12:54:35 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2024-05-26 12:58:48 +0000 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 --- textproc/Makefile | 1 + textproc/R-cran-tth/Makefile | 18 ++++++++++++++++++ textproc/R-cran-tth/distinfo | 3 +++ textproc/R-cran-tth/pkg-descr | 2 ++ 4 files changed, 24 insertions(+) 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405261259.44QCxuQX003528>