git: 9dc0304a946b - main - textproc/hs-lhs2tex: Update 1.25 => 1.26
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Mar 2026 14:07:23 UTC
The branch main has been updated by alven:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9dc0304a946be78664e6eafbcecab943cf7ac89b
commit 9dc0304a946be78664e6eafbcecab943cf7ac89b
Author: Älven <alven@FreeBSD.org>
AuthorDate: 2026-01-01 20:43:09 +0000
Commit: Älven <alven@FreeBSD.org>
CommitDate: 2026-03-22 14:06:55 +0000
textproc/hs-lhs2tex: Update 1.25 => 1.26
* Add second WWW for hackage.haskell.org
* Clarify LICENSE
* Switch GHC 9.8 => 9.10
* Improve pkg-descr
* Pet portclippy(1) and portfmt(1)
Approved by: haskell@ (alven@)
Approved by: db@, yuri@ (Mentors, implicit)
---
textproc/hs-lhs2tex/Makefile | 16 +++++-----------
textproc/hs-lhs2tex/Makefile.cabal | 3 +++
textproc/hs-lhs2tex/distinfo | 24 +++++++++---------------
textproc/hs-lhs2tex/pkg-descr | 12 +++++++++++-
4 files changed, 28 insertions(+), 27 deletions(-)
diff --git a/textproc/hs-lhs2tex/Makefile b/textproc/hs-lhs2tex/Makefile
index e2324ee06d09..9d18d50b5b51 100644
--- a/textproc/hs-lhs2tex/Makefile
+++ b/textproc/hs-lhs2tex/Makefile
@@ -1,23 +1,17 @@
PORTNAME= lhs2tex
-PORTVERSION= 1.25
+DISTVERSION= 1.26
CATEGORIES= textproc haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Preprocessor for typesetting Haskell sources with LaTeX
-WWW= https://www.andres-loeh.de/lhs2tex/
+WWW= https://www.andres-loeh.de/lhs2tex/ \
+ https://hackage.haskell.org/package/lhs2tex
-LICENSE= GPLv2
-
-BUILD_DEPENDS= ghc-9.8.4:lang/ghc98
+LICENSE= GPLv2+
USES= cabal tex
-USE_CABAL= regex-base-0.94.0.2_4 \
- regex-compat-0.95.2.1_2 \
- regex-posix-0.96.0.1_3
-USE_TEX= latex dvipsk
+USE_TEX= dvipsk latex
CABAL_EXECUTABLES= lhs2TeX
-BINARY_ALIAS= ghci=${LOCALBASE}/bin/ghci-9.8.4
-
.include <bsd.port.mk>
diff --git a/textproc/hs-lhs2tex/Makefile.cabal b/textproc/hs-lhs2tex/Makefile.cabal
new file mode 100644
index 000000000000..3f75c7501a1e
--- /dev/null
+++ b/textproc/hs-lhs2tex/Makefile.cabal
@@ -0,0 +1,3 @@
+USE_CABAL= regex-base-0.94.0.3 \
+ regex-compat-0.95.2.2 \
+ regex-posix-0.96.0.2
diff --git a/textproc/hs-lhs2tex/distinfo b/textproc/hs-lhs2tex/distinfo
index 53cb4a653cb0..dce11fa4ebcb 100644
--- a/textproc/hs-lhs2tex/distinfo
+++ b/textproc/hs-lhs2tex/distinfo
@@ -1,15 +1,9 @@
-TIMESTAMP = 1706635079
-SHA256 (cabal/lhs2tex-1.25/lhs2tex-1.25.tar.gz) = d263232264f1d8ab62e39f15a6dd7a7ce644117f6615dd43c3afa957cd37c631
-SIZE (cabal/lhs2tex-1.25/lhs2tex-1.25.tar.gz) = 891949
-SHA256 (cabal/regex-base-0.94.0.2/regex-base-0.94.0.2.tar.gz) = 7b99408f580f5bb67a1c413e0bc735886608251331ad36322020f2169aea2ef1
-SIZE (cabal/regex-base-0.94.0.2/regex-base-0.94.0.2.tar.gz) = 10488
-SHA256 (cabal/regex-base-0.94.0.2/revision/4.cabal) = 0322b2fcd1358f3355e0c8608efa60d27b14d1c9d476451dbcb9181363bd8b27
-SIZE (cabal/regex-base-0.94.0.2/revision/4.cabal) = 2601
-SHA256 (cabal/regex-compat-0.95.2.1/regex-compat-0.95.2.1.tar.gz) = 8f7b386c72fd605a292edfb809b8620245b4a3ab7af192ad79e36778596e7947
-SIZE (cabal/regex-compat-0.95.2.1/regex-compat-0.95.2.1.tar.gz) = 4285
-SHA256 (cabal/regex-compat-0.95.2.1/revision/2.cabal) = 96c83b06280ebfb6fef01864b2af9eb9e136a9832c563773f327d4197bbbb851
-SIZE (cabal/regex-compat-0.95.2.1/revision/2.cabal) = 1705
-SHA256 (cabal/regex-posix-0.96.0.1/regex-posix-0.96.0.1.tar.gz) = c7827c391919227711e1cff0a762b1678fd8739f9c902fc183041ff34f59259c
-SIZE (cabal/regex-posix-0.96.0.1/regex-posix-0.96.0.1.tar.gz) = 12853
-SHA256 (cabal/regex-posix-0.96.0.1/revision/3.cabal) = 816d6acc560cb86672f347a7bef8129578dde26ed760f9e79b4976ed9bd7b9fd
-SIZE (cabal/regex-posix-0.96.0.1/revision/3.cabal) = 2925
+TIMESTAMP = 1774187371
+SHA256 (cabal/lhs2tex-1.26/lhs2tex-1.26.tar.gz) = 26a3a55d1a2e71a1af353e12e18c3dc704dfcebe9fa4418940f20aba0ee8c6a5
+SIZE (cabal/lhs2tex-1.26/lhs2tex-1.26.tar.gz) = 905241
+SHA256 (cabal/regex-base-0.94.0.3/regex-base-0.94.0.3.tar.gz) = e8ca2dee598c790dd1c1c4359bdd1e495d9b881f5aa1f539c22f0dd5563747bf
+SIZE (cabal/regex-base-0.94.0.3/regex-base-0.94.0.3.tar.gz) = 10550
+SHA256 (cabal/regex-compat-0.95.2.2/regex-compat-0.95.2.2.tar.gz) = e27ed1d8c3616a7bd471c66950c7dd3bbdfe435da8319d647bfea12031bb301c
+SIZE (cabal/regex-compat-0.95.2.2/regex-compat-0.95.2.2.tar.gz) = 4658
+SHA256 (cabal/regex-posix-0.96.0.2/regex-posix-0.96.0.2.tar.gz) = 7e570460c35c5deec54d1ba46305ddb4679c7d4aae84f631dd0c61daaeaa8150
+SIZE (cabal/regex-posix-0.96.0.2/regex-posix-0.96.0.2.tar.gz) = 13343
diff --git a/textproc/hs-lhs2tex/pkg-descr b/textproc/hs-lhs2tex/pkg-descr
index 2081a6700d97..d9a33b72b102 100644
--- a/textproc/hs-lhs2tex/pkg-descr
+++ b/textproc/hs-lhs2tex/pkg-descr
@@ -1 +1,11 @@
-Preprocessor for typesetting Haskell sources with LaTeX.
+This tool is primarily intended for people who want to write articles or books
+using LaTeX that contain some Haskell code. It works on literate Haskell
+documents where the non-Haskell parts form essentially a valid LaTeX document,
+then processes the Haskell code in the document and replaces it with formatted
+LaTeX output. It is not fully automatic in the sense that it will turn an
+arbitrary literate Haskell document into a LaTeX document without further work.
+
+Nearly all aspects about the output and formatting are configurable. Output of
+code can be made using proportional fonts in such a way that even complex
+horizontal alignment is preserved. The preprocessor can also be invoked in
+another mode to just extract the Haskell code.