git: 1ac9db7c35b9 - main - chinese/libpinyin: update to 2.6.2.

From: Xin LI <delphij_at_FreeBSD.org>
Date: Mon, 02 May 2022 04:48:28 UTC
The branch main has been updated by delphij:

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

commit 1ac9db7c35b9011f29d2d903944d77b09cc256c6
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2022-05-02 02:03:03 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2022-05-02 04:47:56 +0000

    chinese/libpinyin: update to 2.6.2.
    
    PR:             ports/263711
    Approved by:    maintainer (lichray at gmail dot com)
---
 chinese/libpinyin/Makefile                     | 2 +-
 chinese/libpinyin/distinfo                     | 6 +++---
 chinese/libpinyin/files/patch-data_Makefile.in | 4 ++--
 chinese/libpinyin/files/patch-libpinyin.pc.in  | 6 +++---
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/chinese/libpinyin/Makefile b/chinese/libpinyin/Makefile
index 64aabe0140b7..a45914a363b3 100644
--- a/chinese/libpinyin/Makefile
+++ b/chinese/libpinyin/Makefile
@@ -1,7 +1,7 @@
 # Created by: Zhihao Yuan <lichray@gmail.com>
 
 PORTNAME=	libpinyin
-PORTVERSION=	2.3.0
+PORTVERSION=	2.6.2
 CATEGORIES=	chinese textproc
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 
diff --git a/chinese/libpinyin/distinfo b/chinese/libpinyin/distinfo
index 03171f45f82e..3553bd818532 100644
--- a/chinese/libpinyin/distinfo
+++ b/chinese/libpinyin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1564885156
-SHA256 (libpinyin-2.3.0.tar.gz) = b3dc9c6a1af55e9427f9d462ff176fbab6a3793368080a2f8e2a58c4cd4e2691
-SIZE (libpinyin-2.3.0.tar.gz) = 20465096
+TIMESTAMP = 1651370275
+SHA256 (libpinyin-2.6.2.tar.gz) = 1b6dac7828c3f4522d2242009ab2cea10df3d9f92fb9036b9ff0ad309b4e5325
+SIZE (libpinyin-2.6.2.tar.gz) = 20558423
diff --git a/chinese/libpinyin/files/patch-data_Makefile.in b/chinese/libpinyin/files/patch-data_Makefile.in
index 68047fc9ed7a..41b87c6dbc2d 100644
--- a/chinese/libpinyin/files/patch-data_Makefile.in
+++ b/chinese/libpinyin/files/patch-data_Makefile.in
@@ -1,6 +1,6 @@
---- data/Makefile.in.orig	2019-08-07 02:01:59 UTC
+--- data/Makefile.in.orig	2022-05-01 05:03:52 UTC
 +++ data/Makefile.in
-@@ -307,7 +307,7 @@ EXTRA_DIST = $(textual_model_data) \
+@@ -309,7 +309,7 @@ libpinyin_db_DATA = $(binary_model_data) \
  libpinyin_db_DATA = $(binary_model_data) \
                            table.conf
  
diff --git a/chinese/libpinyin/files/patch-libpinyin.pc.in b/chinese/libpinyin/files/patch-libpinyin.pc.in
index 77d7d5d5290a..96bc97375c68 100644
--- a/chinese/libpinyin/files/patch-libpinyin.pc.in
+++ b/chinese/libpinyin/files/patch-libpinyin.pc.in
@@ -1,11 +1,11 @@
---- libpinyin.pc.in.orig	2018-05-28 08:15:28 UTC
+--- libpinyin.pc.in.orig	2020-11-16 05:28:45 UTC
 +++ libpinyin.pc.in
-@@ -2,7 +2,7 @@ prefix=@prefix@
+@@ -2,7 +2,7 @@ includedir=@includedir@
  exec_prefix=@exec_prefix@
  libdir=@libdir@
  includedir=@includedir@
 -pkgdatadir=@libdir@/libpinyin
 +pkgdatadir=@datadir@/libpinyin
+ database_format=@DATABASE_FORMAT@
  
  libpinyinincludedir=${includedir}/libpinyin-@VERSION@
- libpinyin_binary_version=@LIBPINYIN_BINARY_VERSION@