git: 6205184a09c3 - main - www/emacs-w3m: Update to the snapshot on 2022-09-16

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sat, 17 Sep 2022 15:22:43 UTC
The branch main has been updated by nobutaka:

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

commit 6205184a09c32b49ea9703c0451945753033353d
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2022-09-17 15:21:49 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2022-09-17 15:22:21 +0000

    www/emacs-w3m: Update to the snapshot on 2022-09-16
---
 www/emacs-w3m/Makefile  | 14 +++++++++++---
 www/emacs-w3m/distinfo  |  6 +++---
 www/emacs-w3m/pkg-plist |  2 +-
 3 files changed, 15 insertions(+), 7 deletions(-)

diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile
index 2c3422b567d5..f3792de8bc6a 100644
--- a/www/emacs-w3m/Makefile
+++ b/www/emacs-w3m/Makefile
@@ -15,13 +15,13 @@ RUN_DEPENDS=	w3m:www/w3m
 
 USES=		autoreconf emacs tar:xz
 USE_GITHUB=	yes
-GH_TAGNAME=	c3a3a94
+GH_TAGNAME=	343f4f8
 
 ALL_TARGET=	default
 INSTALL_TARGET=	install install-icons
 
 NO_ARCH=	yes
-SNAPDATE=	20220408
+SNAPDATE=	20220916
 MAKE_JOBS_UNSAFE=	yes
 
 GNU_CONFIGURE=	yes
@@ -49,6 +49,14 @@ OCTET_VIEWER_RUN_DEPENDS=\
 		wvHtml:textproc/wv \
 		xlhtml:textproc/xlhtml
 
+.include <bsd.port.pre.mk>
+
+.if ${EMACS_MAJOR_VER} == 28
+PLIST_SUB+=	EMACS28=""
+.else
+PLIST_SUB+=	EMACS28="@comment "
+.endif
+
 post-patch:
 	@${MV} ${WRKSRC}/aclocal.m4 ${WRKSRC}/acinclude.m4
 
@@ -56,4 +64,4 @@ post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/emacs-w3m/distinfo b/www/emacs-w3m/distinfo
index 021accb23089..f5ec61163000 100644
--- a/www/emacs-w3m/distinfo
+++ b/www/emacs-w3m/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1649496967
-SHA256 (emacs-w3m-emacs-w3m-1.4.632.b.20220408-c3a3a94_GH0.tar.gz) = d8a387eb502d7474b33b9fb20f383c00b07a4205821b011ce9494cd5cd8c0da8
-SIZE (emacs-w3m-emacs-w3m-1.4.632.b.20220408-c3a3a94_GH0.tar.gz) = 1077310
+TIMESTAMP = 1663423111
+SHA256 (emacs-w3m-emacs-w3m-1.4.632.b.20220916-343f4f8_GH0.tar.gz) = f812c6cfd4e451b42c72705b86bca940dee94e11da190ee3b18058b27e0305cc
+SIZE (emacs-w3m-emacs-w3m-1.4.632.b.20220916-343f4f8_GH0.tar.gz) = 1079402
diff --git a/www/emacs-w3m/pkg-plist b/www/emacs-w3m/pkg-plist
index 2613552bb899..0a3f2722d890 100644
--- a/www/emacs-w3m/pkg-plist
+++ b/www/emacs-w3m/pkg-plist
@@ -344,7 +344,7 @@
 %%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-lnum.el
 %%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-lnum.elc
 %%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-load.el
-%%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-load.elc
+%%EMACS28%%%%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-load.elc
 %%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-mail.el
 %%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-mail.elc
 %%EMACS_VERSION_SITE_LISPDIR%%/w3m/w3m-namazu.el