git: a81273e68fd6 - main - www/nyxt: Add pkg-message

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 01 Feb 2025 18:26:13 UTC
The branch main has been updated by eduardo:

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

commit a81273e68fd6d97f5f2f3ee49d16314bd4e64cfc
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-02-01 18:23:07 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-02-01 18:26:02 +0000

    www/nyxt: Add pkg-message
    
    Add a message about using WEBKIT_DISABLE_COMPOSITING_MODE=1 workaround.
    
    PR:             284258
    Reported by:    shamaz.mazum[at]gmail[dot]com
---
 www/nyxt/Makefile    |  1 +
 www/nyxt/pkg-message | 10 ++++++++++
 2 files changed, 11 insertions(+)

diff --git a/www/nyxt/Makefile b/www/nyxt/Makefile
index c96b3de1610d..4459a8f14a34 100644
--- a/www/nyxt/Makefile
+++ b/www/nyxt/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	nyxt
 DISTVERSION=	3.12.0
 DISTVERSIONSUFFIX=	-source-with-submodules
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	https://github.com/atlas-engineer/${PORTNAME}/releases/download/${DISTVERSION}/
 
diff --git a/www/nyxt/pkg-message b/www/nyxt/pkg-message
new file mode 100644
index 000000000000..fc5521190715
--- /dev/null
+++ b/www/nyxt/pkg-message
@@ -0,0 +1,10 @@
+[
+{ type: install
+  message: <<EOM
+If you experience a blank screen or freeze after execution, try setting the
+WEBKIT_DISABLE_COMPOSITING_MODE environment variable to 1. For example:
+
+    $ env WEBKIT_DISABLE_COMPOSITING_MODE=1 nyxt <URL>
+EOM
+}
+]