Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Feb 2026 08:30:52 +0000
From:      =?utf-8?Q?=C3=84lven?= <alven@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a350be672d96 - main - textproc/hevea: Update 2.36 => 2.38, improve port, take maintainership
Message-ID:  <6996ca3c.18a3f.663a5a40@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by alven:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a350be672d962afb98590d344c5a62e45c166954

commit a350be672d962afb98590d344c5a62e45c166954
Author:     Älven <alven@FreeBSD.org>
AuthorDate: 2026-02-19 08:10:38 +0000
Commit:     Älven <alven@FreeBSD.org>
CommitDate: 2026-02-19 08:30:35 +0000

    textproc/hevea: Update 2.36 => 2.38, improve port, take maintainership
    
    * Add LICENSE, LICENSE_FILE and LICENSE_PERMS for QPL-1.0
    * Add EXAMPLES option for installing examples
    * Suggest local TeX folder for style installation in pkg-message
    * Pet portclippy(1) and portfmt(1)
    
    Approved by:    db@, yuri@ (Mentors, implicit)
---
 textproc/hevea/Makefile    | 40 +++++++++++++++++++++++-----------------
 textproc/hevea/distinfo    | 14 +++++++-------
 textproc/hevea/pkg-message | 10 +++++-----
 textproc/hevea/pkg-plist   |  2 ++
 4 files changed, 37 insertions(+), 29 deletions(-)

diff --git a/textproc/hevea/Makefile b/textproc/hevea/Makefile
index 65fb5fb21568..a497270c76d2 100644
--- a/textproc/hevea/Makefile
+++ b/textproc/hevea/Makefile
@@ -1,24 +1,29 @@
 PORTNAME=	hevea
-PORTVERSION=	2.36
+DISTVERSION=	2.38
 CATEGORIES=	textproc
-MASTER_SITES=	http://moscova.inria.fr/~maranget/${PORTNAME}/distri/
+MASTER_SITES=	https://hevea.inria.fr/distri/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Convert LaTeX to HTML
-WWW=		http://para.inria.fr/~maranget/hevea/
+MAINTAINER=	alven@FreeBSD.org
+COMMENT=	Quite complete and fast LaTeX to HTML translator
+WWW=		https://hevea.inria.fr/ \
+		https://github.com/maranget/hevea/
 
-BUILD_DEPENDS=	ocamlbuild:devel/ocaml-ocamlbuild
+LICENSE=	QPL-1.0
+LICENSE_NAME=	Q Public License 1.0
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	${_LICENSE_PERMS_DEFAULT}
 
-PLIST_SUB=	HEVEAVERSION=${PORTVERSION}
+BUILD_DEPENDS=	ocamlbuild:devel/ocaml-ocamlbuild
 
 PORTDOCS=	*
+PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-DOCS_DISTFILES+=	${PORTNAME}-${PORTVERSION}-manual.pdf \
-			${PORTNAME}-${PORTVERSION}-manual.tar.gz
+DOCS_DISTFILES+=	${PORTNAME}-${DISTVERSION}-manual.pdf \
+			${PORTNAME}-${DISTVERSION}-manual.tar.gz
 
 .include <bsd.port.options.mk>
 
@@ -27,14 +32,15 @@ USE_BINUTILS=	yes
 .endif
 
 post-install:
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/esponja
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bibhva
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hevea
-	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hacha
+	cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} bibhva esponja hacha hevea
 
 post-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/hevea
-	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.pdf ${STAGEDIR}${PREFIX}/share/doc/hevea
-	(cd ${STAGEDIR}${PREFIX}/share/doc/hevea; ${TAR} xvfz ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.tar.gz)
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${DISTVERSION}-manual.pdf ${STAGEDIR}${DOCSDIR}
+	${TAR} xvfz ${DISTDIR}/${PORTNAME}-${DISTVERSION}-manual.tar.gz -C ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+	${LN} -sfv ${PREFIX}/lib/hevea/hevea.sty ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>
diff --git a/textproc/hevea/distinfo b/textproc/hevea/distinfo
index c480071816c1..d5d5aaa7bb47 100644
--- a/textproc/hevea/distinfo
+++ b/textproc/hevea/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1694286912
-SHA256 (hevea-2.36.tar.gz) = 5d6759d7702a295c76a12c1b2a1a16754ab0ec1ffed73fc9d0b138b41e720648
-SIZE (hevea-2.36.tar.gz) = 1007317
-SHA256 (hevea-2.36-manual.pdf) = 27b88aeaf37eb24f83d57ec091bf6cda8e3733f46f0887bbc20ebadbf81cc28f
-SIZE (hevea-2.36-manual.pdf) = 925307
-SHA256 (hevea-2.36-manual.tar.gz) = 2c2da67b439c3a07407e09cf5a3373f1b176bf72b855ef612c9cb0a978f8f669
-SIZE (hevea-2.36-manual.tar.gz) = 600601
+TIMESTAMP = 1771482587
+SHA256 (hevea-2.38.tar.gz) = 722038065007226f0fa3de4629127294d2e29bfbbc41042c83a570fa0c455a47
+SIZE (hevea-2.38.tar.gz) = 1013140
+SHA256 (hevea-2.38-manual.pdf) = 65b13e25897b489b91b43f80c84da4d329ed01bdc9df07b75b4be078a4ab4386
+SIZE (hevea-2.38-manual.pdf) = 963507
+SHA256 (hevea-2.38-manual.tar.gz) = f90a785ffff2aca012512aab5e107e67c30be5f71b28f90d30995fc8520e1f0a
+SIZE (hevea-2.38-manual.tar.gz) = 612440
diff --git a/textproc/hevea/pkg-message b/textproc/hevea/pkg-message
index 3de9fc36ba46..724822a98643 100644
--- a/textproc/hevea/pkg-message
+++ b/textproc/hevea/pkg-message
@@ -1,13 +1,13 @@
 [
 { type: install
   message: <<EOM
-You may like to put the file hevea.sty in a place where latex
-can find it.  For example, if you are using teTeX from the
+You may like to put the file hevea.sty in a place where LaTeX
+can find it.  For example, if you are using TeX Live from the
 ports, the following commands will do the job:
 
-mkdir -p /usr/local/share/texmf/tex/latex/hevea
-cp /usr/local/lib/hevea/hevea.sty /usr/local/share/texmf/tex/latex/hevea
-texhash
+mkdir -pv ~/texmf/tex/latex/hevea
+ln -sfv /usr/local/lib/hevea/hevea.sty ~/texmf/tex/latex/hevea/hevea.sty
+texhash ~/texmf
 EOM
 }
 ]
diff --git a/textproc/hevea/pkg-plist b/textproc/hevea/pkg-plist
index 2946c45ec95d..39ea31e6856d 100644
--- a/textproc/hevea/pkg-plist
+++ b/textproc/hevea/pkg-plist
@@ -118,9 +118,11 @@ lib/hevea/mappings/windows-1252.map
 lib/hevea/mappings/windows-1257.map
 lib/hevea/mathjax.sty
 lib/hevea/mathop.hva
+lib/hevea/mathtools.hva
 lib/hevea/moreverb.hva
 lib/hevea/multibib.hva
 lib/hevea/multind.hva
+lib/hevea/nameref.hva
 lib/hevea/natbib-common.hva
 lib/hevea/next_motif.gif
 lib/hevea/next_motif.svg


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6996ca3c.18a3f.663a5a40>