git: 9de124e78fc0 - main - editors/zile: Update to 2.6.4

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 16 Mar 2025 15:52:42 UTC
The branch main has been updated by eduardo:

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

commit 9de124e78fc042ac58dd01b532c027693ee5233e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-03-16 11:51:52 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-03-16 14:49:35 +0000

    editors/zile: Update to 2.6.4
    
    - Switch to DISTVERSION
    - Use vala build
    - Add DOCS option
    - Makefile cleanup, remove unneeded clang fix and reeinplacements
    - Take maintainership
    
    ChangeLog: http://git.savannah.gnu.org/cgit/zile.git/tree/NEWS
---
 editors/zile/Makefile | 39 +++++++++++----------------------------
 editors/zile/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 31 deletions(-)

diff --git a/editors/zile/Makefile b/editors/zile/Makefile
index f2187b729fed..e1ab191698d9 100644
--- a/editors/zile/Makefile
+++ b/editors/zile/Makefile
@@ -1,48 +1,31 @@
 PORTNAME=	zile
-PORTVERSION=	2.6.2
-PORTREVISION=	1
+DISTVERSION=	2.6.4
 CATEGORIES=	editors
 MASTER_SITES=	GNU
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Small emacs-like text editor
 WWW=		https://www.gnu.org/software/zile/
 
 LICENSE=	GPLv3
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/help2man:misc/help2man
-LIB_DEPENDS=	libgc.so:devel/boehm-gc \
-		libgee-0.8.so:devel/libgee \
-		libgnuregex.so.6:devel/libgnuregex
+LIB_DEPENDS=	libgee-0.8.so:devel/libgee \
+		libgnuregex.so:devel/libgnuregex
 
-USES=		compiler:c++11-lang gmake gnome localbase:ldflags  \
-		ncurses perl5 pkgconfig
+USES=		compiler:c++11-lang gmake gnome localbase:ldflags ncurses perl5 \
+		pkgconfig vala:build
 USE_GNOME=	glib20
 USE_PERL5=	build
 
 GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS=	--without-included-regex
 
 LDFLAGS+=	-lgnuregex
 
-PLIST_FILES= bin/${PORTNAME} \
-		share/man/man1/${PORTNAME}.1.gz \
-		%%DOCSDIR%%/AUTHORS \
-		%%DOCSDIR%%/dotzile.sample \
-		%%DOCSDIR%%/FAQ \
-		%%DOCSDIR%%/NEWS
+PLIST_FILES=	bin/${PORTNAME} \
+		share/man/man1/${PORTNAME}.1.gz
+PORTDOCS=	AUTHORS FAQ NEWS dotzile.sample
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	DOCS
 
-.if ${COMPILER_TYPE} == clang
-CFLAGS+=	-Wno-error=incompatible-function-pointer-types
-.endif
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/need_charset_alias=/s|true|false|g' ${WRKSRC}/lib/Makefile.in
-	@${REINPLACE_CMD} -e \
-		's|@pkgdatadir@|${DOCSDIR}|' ${WRKSRC}/doc/man-extras
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/zile/distinfo b/editors/zile/distinfo
index 3297dc833ba2..0b6c67bb4139 100644
--- a/editors/zile/distinfo
+++ b/editors/zile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641551721
-SHA256 (zile-2.6.2.tar.gz) = 77eb7daff3c98bdc88daa1ac040dccca72b81dc32fc3166e079dd7a63e42c741
-SIZE (zile-2.6.2.tar.gz) = 1152751
+TIMESTAMP = 1742122880
+SHA256 (zile-2.6.4.tar.gz) = d5d44b85cb490643d0707e1a2186f3a32998c2f6eabaa9481479b65caeee57c0
+SIZE (zile-2.6.4.tar.gz) = 1330917