git: f54ee717f03c - main - net/dico: update to 2.12

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Thu, 20 Feb 2025 23:27:47 UTC
The branch main has been updated by fuz:

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

commit f54ee717f03c170457412ede03764c89047a7ee7
Author:     FreeBSD <info@dikt.tv>
AuthorDate: 2025-02-14 22:40:31 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-02-20 23:27:21 +0000

    net/dico: update to 2.12
    
     - update to version 2.12
     - upgrade dependency pcre to pcre2
     - add missing dependencies
     - add TK option to install the gcider binary
    
    release info: https://savannah.gnu.org/news/?id=10708
    
    PR:             284825
    Co-authored-by: fuz@FreeBSD.org
---
 net/dico/Makefile  | 13 +++++++------
 net/dico/distinfo  |  6 +++---
 net/dico/pkg-plist |  5 +++++
 3 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/net/dico/Makefile b/net/dico/Makefile
index 70cfe60c1073..9c87c8f380fe 100644
--- a/net/dico/Makefile
+++ b/net/dico/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dico
-DISTVERSION=	2.11
-PORTREVISION=	2
+DISTVERSION=	2.12
 CATEGORIES=	net textproc
 MASTER_SITES=	GNU
 
@@ -13,7 +12,7 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libltdl.so:devel/libltdl
 
-USES=		gmake libtool localbase pkgconfig readline tar:xz
+USES=		gmake iconv libtool localbase ncurses pkgconfig readline tar:xz
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
@@ -27,12 +26,11 @@ PLIST_SUB=	PORTVERSION=${PORTVERSION}
 SUB_FILES=	pkg-message
 USE_RC_SUBR=	dicod
 
-OPTIONS_DEFINE=	PYTHON GUILE PCRE GSASL PAM LDAP NLS
+OPTIONS_DEFINE=	PYTHON GUILE PCRE GSASL PAM LDAP NLS TK
 OPTIONS_DEFAULT=	PYTHON PCRE
 OPTIONS_SUB=	yes
 GSASL_DESC=	GSASL support
 
-GSASL_USES=		iconv
 GSASL_LIB_DEPENDS=	libgsasl.so:security/libgsasl
 GSASL_CONFIGURE_WITH=	gsasl
 
@@ -47,13 +45,16 @@ NLS_CONFIGURE_ENABLE=	nls
 
 PAM_CONFIGURE_ENABLE=	pam
 
-PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
+PCRE_LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
 PCRE_CONFIGURE_OFF=	--without-pcre
 
 PYTHON_USES=		python
 PYTHON_CONFIGURE_ENV=	PYTHON_CONFIG=${PYTHON_CMD}-config
 PYTHON_CONFIGURE_OFF=	--without-python
 
+TK_USES=		tk
+TK_BINARY_ALIAS=	wish=${WISH}
+
 post-patch:
 	@${REINPLACE_CMD} 's/@bindir@/@sbindir@/' ${WRKSRC}/dicod/Makefile.in
 	@${REINPLACE_CMD} \
diff --git a/net/dico/distinfo b/net/dico/distinfo
index ab5934d8cfa8..08e2fd918f03 100644
--- a/net/dico/distinfo
+++ b/net/dico/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1673033889
-SHA256 (dico-2.11.tar.xz) = ac1f98e233d0facacaac1059f3b81384a5592e26fd4c3082aed003f65e252c5a
-SIZE (dico-2.11.tar.xz) = 1883752
+TIMESTAMP = 1739299896
+SHA256 (dico-2.12.tar.xz) = 728b89c50e090bff839e8f7b3043b5c7023f861a9211c93048b42ab455866af7
+SIZE (dico-2.12.tar.xz) = 2019900
diff --git a/net/dico/pkg-plist b/net/dico/pkg-plist
index 9bbdc16b0cb7..b42875e8351d 100644
--- a/net/dico/pkg-plist
+++ b/net/dico/pkg-plist
@@ -1,7 +1,9 @@
 bin/dico
+%%TK%%bin/gcider
 etc/dicod.conf.sample
 include/dico/argcv.h
 include/dico/assoc.h
+include/dico/conv.h
 include/dico/diag.h
 include/dico/dico.h
 include/dico/filter.h
@@ -23,6 +25,8 @@ lib/dico/echo.a
 lib/dico/echo.so
 lib/dico/gcide.a
 lib/dico/gcide.so
+lib/dico/greek_kbd.a
+lib/dico/greek_kbd.so
 %%GUILE%%lib/dico/guile.a
 %%GUILE%%lib/dico/guile.so
 %%LDAP%%lib/dico/ldap.a
@@ -62,6 +66,7 @@ sbin/dicod
 %%NLS%%share/locale/fr/LC_MESSAGES/dico.mo
 %%NLS%%share/locale/pl/LC_MESSAGES/dico.mo
 %%NLS%%share/locale/pt_BR/LC_MESSAGES/dico.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/dico.mo
 %%NLS%%share/locale/sr/LC_MESSAGES/dico.mo
 %%NLS%%share/locale/sv/LC_MESSAGES/dico.mo
 %%NLS%%share/locale/uk/LC_MESSAGES/dico.mo