git: 1704826f6701 - main - editors/enter-tex: DOCS option, tex-formats, fix URLs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 18 Aug 2025 16:08:35 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1704826f6701e0c3dd3081b850a84d57476b72f4
commit 1704826f6701e0c3dd3081b850a84d57476b72f4
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2025-08-18 16:02:00 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2025-08-18 16:05:50 +0000
editors/enter-tex: DOCS option, tex-formats, fix URLs
Re-add the print/tex-formats RUN_DEPENDS from before the rename,
as a TeX editor without a distribution is nearly useless.
Upstream URLs were updated but only GL_ACCOUNT was accounted for,
so fix WWW and other places to match. Bump PORTREVISION mostly for
this metadata change.
While here, move the manual build step prior to the main build into
pre-build rather than overriding do-build.
---
editors/enter-tex/Makefile | 26 ++++++++++++------------
editors/enter-tex/pkg-plist | 48 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 14 deletions(-)
diff --git a/editors/enter-tex/Makefile b/editors/enter-tex/Makefile
index 3e5a7514eca8..b69c02c9fb89 100644
--- a/editors/enter-tex/Makefile
+++ b/editors/enter-tex/Makefile
@@ -1,11 +1,12 @@
PORTNAME= enter-tex
DISTVERSION= 3.48.0
+PORTREVISION= 1
CATEGORIES= editors
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Integrated TeX/LaTeX editor
-WWW= https://gitlab.gnome.org/swilmet/enter-tex
+WWW= https://gitlab.gnome.org/World/gedit/enter-tex
LICENSE= GPLv3+
@@ -20,27 +21,24 @@ LIB_DEPENDS= libgee-0.8.so:devel/libgee \
USES= compiler:c11 desktop-file-utils gettext gnome meson \
pkgconfig tar:bz2 tex vala:build
USE_GNOME= dconf glib20 gtk30 introspection:build
-USE_TEX= base
+USE_TEX= formats
USE_GITLAB= yes
GL_SITE= https://gitlab.gnome.org
GL_ACCOUNT= World/gedit
-MESON_ARGS= -Dgtk_doc=false \
- -Dtests=false
-
+MESON_ARGS= -Dtests=false
GLIB_SCHEMAS= org.gnome.enter_tex.gschema.xml
-# https://gitlab.gnome.org/swilmet/enter-tex/-/issues/19
-do-build:
- @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} src/gtex/Gtex-1.gir; then \
- if [ -n "${BUILD_FAIL_MESSAGE}" ]; then \
- ${ECHO_MSG} "===> Compilation failed unexpectedly." ;\
- (${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") ;\
- fi ;\
- fi)
+OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
- @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} src/enter-tex; then \
+DOCS_BUILD_DEPENDS= gtkdoc-scan:textproc/gtk-doc
+DOCS_MESON_TRUE= gtk_doc
+
+# https://gitlab.gnome.org/World/gedit/enter-tex/-/issues/19
+pre-build:
+ @(cd ${BUILD_WRKSRC}; if ! ${DO_MAKE_BUILD} src/gtex/Gtex-1.gir; then \
if [ -n "${BUILD_FAIL_MESSAGE}" ]; then \
${ECHO_MSG} "===> Compilation failed unexpectedly." ;\
(${ECHO_CMD} "${BUILD_FAIL_MESSAGE}") ;\
diff --git a/editors/enter-tex/pkg-plist b/editors/enter-tex/pkg-plist
index 05f11f80de61..9507ddcba727 100644
--- a/editors/enter-tex/pkg-plist
+++ b/editors/enter-tex/pkg-plist
@@ -10,6 +10,54 @@ share/dbus-1/services/org.gnome.enter_tex.service
%%DATADIR%%/templates/letter.tex
%%DATADIR%%/templates/report.tex
%%DATADIR%%/ui/ui.xml
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexApp.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexBuildJob.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexBuildTool.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexBuildTools.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexBuildToolsDefault.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexBuildToolsPersonal.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexBuildView.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexFactory.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexPostProcessor.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexPostProcessorAllOutput.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexPostProcessorLatex.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexPostProcessorLatexmk.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexSettings.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexStructure.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexSynctex.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexTemplatesDefault.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexTemplatesManageDialog.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexTemplatesPersonal.html
+%%DOCS%%share/gtk-doc/html/enter-tex/GtexTreeModelNode.html
+%%DOCS%%share/gtk-doc/html/enter-tex/annexes.html
+%%DOCS%%share/gtk-doc/html/enter-tex/annotation-glossary.html
+%%DOCS%%share/gtk-doc/html/enter-tex/api-reference.html
+%%DOCS%%share/gtk-doc/html/enter-tex/ch01.html
+%%DOCS%%share/gtk-doc/html/enter-tex/ch02.html
+%%DOCS%%share/gtk-doc/html/enter-tex/ch03.html
+%%DOCS%%share/gtk-doc/html/enter-tex/ch04.html
+%%DOCS%%share/gtk-doc/html/enter-tex/ch05.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-Gtex-Initialization-and-Finalization.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexBottomPanel.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexBuffer.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexCommands.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexDirs.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexPrefs.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexTemplatesDialogs.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexUtils.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex-GtexView.html
+%%DOCS%%share/gtk-doc/html/enter-tex/enter-tex.devhelp2
+%%DOCS%%share/gtk-doc/html/enter-tex/home.png
+%%DOCS%%share/gtk-doc/html/enter-tex/index.html
+%%DOCS%%share/gtk-doc/html/enter-tex/ix01.html
+%%DOCS%%share/gtk-doc/html/enter-tex/left-insensitive.png
+%%DOCS%%share/gtk-doc/html/enter-tex/left.png
+%%DOCS%%share/gtk-doc/html/enter-tex/object-tree.html
+%%DOCS%%share/gtk-doc/html/enter-tex/right-insensitive.png
+%%DOCS%%share/gtk-doc/html/enter-tex/right.png
+%%DOCS%%share/gtk-doc/html/enter-tex/style.css
+%%DOCS%%share/gtk-doc/html/enter-tex/up-insensitive.png
+%%DOCS%%share/gtk-doc/html/enter-tex/up.png
share/help/C/enter-tex/build_tools.page
share/help/C/enter-tex/completion.page
share/help/C/enter-tex/index.page