aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-13 22:52:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-13 22:52:22 +0000
commit2face533b6f9132e8a07e60185ec7b6f879340e9 (patch)
tree050fec5c2f56df740093d1998dbb9388825ea34f
parentc0d9eeea421b453f736cb976bd42d64dcf77e2dc (diff)
downloadports-2face533b6f9132e8a07e60185ec7b6f879340e9.tar.gz
ports-2face533b6f9132e8a07e60185ec7b6f879340e9.zip
math/libtexprintf: New port: Formatted math formula output with tex-like syntax
-rw-r--r--math/Makefile1
-rw-r--r--math/libtexprintf/Makefile23
-rw-r--r--math/libtexprintf/distinfo3
-rw-r--r--math/libtexprintf/pkg-descr6
-rw-r--r--math/libtexprintf/pkg-plist10
5 files changed, 43 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 66437bc36975..e82ae83e96a6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -462,6 +462,7 @@
SUBDIR += librsb
SUBDIR += libsemigroups
SUBDIR += libsharp2
+ SUBDIR += libtexprintf
SUBDIR += libtommath
SUBDIR += libxls
SUBDIR += libxlsxwriter
diff --git a/math/libtexprintf/Makefile b/math/libtexprintf/Makefile
new file mode 100644
index 000000000000..34e2137a8935
--- /dev/null
+++ b/math/libtexprintf/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= libtexprintf
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.25
+CATEGORIES= math textproc
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Formatted math formula output with tex-like syntax
+WWW= https://github.com/bartp5/libtexprintf
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= autoreconf gmake libtool
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= bartp5
+
+GNU_CONFIGURE= yes
+
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/math/libtexprintf/distinfo b/math/libtexprintf/distinfo
new file mode 100644
index 000000000000..e3d76bf6f962
--- /dev/null
+++ b/math/libtexprintf/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699915594
+SHA256 (bartp5-libtexprintf-v1.25_GH0.tar.gz) = c50a44e33eba551526ff553c0af0bdd3f3a219d8ed60f11fcd9d7b30cd028af1
+SIZE (bartp5-libtexprintf-v1.25_GH0.tar.gz) = 123468
diff --git a/math/libtexprintf/pkg-descr b/math/libtexprintf/pkg-descr
new file mode 100644
index 000000000000..1e282faea450
--- /dev/null
+++ b/math/libtexprintf/pkg-descr
@@ -0,0 +1,6 @@
+The utftex program and underlying libtexprintf library provide tools to pretty
+print math in mono-space fonts, using a tex-like syntax. It produces UTF-8
+encoded text. The program was inspired by asciiTeX, and the improved asciiTeX
+fork. However, utftex supports much more TeX syntax and contains extensive
+Unicode tables to map latex commands to Unicode symbols. Use libtexprintf/utftex
+to unlock the math capabilities of Unicode in mono-space text applications.
diff --git a/math/libtexprintf/pkg-plist b/math/libtexprintf/pkg-plist
new file mode 100644
index 000000000000..ce7b05c3d9bf
--- /dev/null
+++ b/math/libtexprintf/pkg-plist
@@ -0,0 +1,10 @@
+bin/utfstringinfo
+bin/utftex
+include/texprintf.h
+lib/libtexprintf.a
+lib/libtexprintf.so
+lib/libtexprintf.so.1
+lib/libtexprintf.so.1.0.0
+man/man1/utfstringinfo.1.gz
+man/man1/utftex.1.gz
+man/man3/texprintf.3.gz