git: 6e8945d0f7ee - main - databases/postgresql-zhparser: Update to 2.2

From: Wen Heping <wen_at_FreeBSD.org>
Date: Sun, 25 Jun 2023 22:59:54 UTC
The branch main has been updated by wen:

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

commit 6e8945d0f7ee853c24e0d2dbfd699c7feff74b0d
Author:     Wen Heping <wen@FreeBSD.org>
AuthorDate: 2023-06-25 22:48:07 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-06-25 22:58:27 +0000

    databases/postgresql-zhparser: Update to 2.2
---
 databases/postgresql-zhparser/Makefile  | 12 ++----------
 databases/postgresql-zhparser/distinfo  |  6 +++---
 databases/postgresql-zhparser/pkg-plist | 11 +++++++++++
 3 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/databases/postgresql-zhparser/Makefile b/databases/postgresql-zhparser/Makefile
index eee545b3af01..d99db67d268e 100644
--- a/databases/postgresql-zhparser/Makefile
+++ b/databases/postgresql-zhparser/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	zhparser
-PORTVERSION=	0.2.0
-PORTREVISION=	2
-DISTVERSIONPREFIX=	v
+PORTVERSION=	2.2
+DISTVERSIONPREFIX=	V
 CATEGORIES=	databases
 PKGNAMEPREFIX=	postgresql${PGSQL_VER:S/.//}-
 
@@ -22,13 +21,6 @@ WANT_PGSQL=	server
 
 MAKE_ENV=	SCWS_HOME=${PREFIX}
 
-PLIST_FILES=	lib/postgresql/zhparser.so \
-		share/postgresql/extension/zhparser--1.0.sql \
-		share/postgresql/extension/zhparser--unpackaged--1.0.sql \
-		share/postgresql/extension/zhparser.control \
-		share/postgresql/tsearch_data/dict.utf8.xdb \
-		share/postgresql/tsearch_data/rules.utf8.ini
-
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/zhparser.so
 
diff --git a/databases/postgresql-zhparser/distinfo b/databases/postgresql-zhparser/distinfo
index 3042a2fbf416..6c3eae70bef4 100644
--- a/databases/postgresql-zhparser/distinfo
+++ b/databases/postgresql-zhparser/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496108378
-SHA256 (amutu-zhparser-v0.2.0_GH0.tar.gz) = 993e4d6cc919f62d597c244f86a28fdbebbfd8c7b9cfaae12768a1e92688bc45
-SIZE (amutu-zhparser-v0.2.0_GH0.tar.gz) = 6101901
+TIMESTAMP = 1687689610
+SHA256 (amutu-zhparser-V2.2_GH0.tar.gz) = 1d0b0e834a3d0406a1c520e5b80886cd1c0bf3649d59f13b5f60e8c872a54a31
+SIZE (amutu-zhparser-V2.2_GH0.tar.gz) = 6103400
diff --git a/databases/postgresql-zhparser/pkg-plist b/databases/postgresql-zhparser/pkg-plist
new file mode 100644
index 000000000000..295cd9c2de8a
--- /dev/null
+++ b/databases/postgresql-zhparser/pkg-plist
@@ -0,0 +1,11 @@
+lib/postgresql/zhparser.so
+share/postgresql/extension/zhparser--unpackaged--1.0.sql
+share/postgresql/extension/zhparser.control
+share/postgresql/tsearch_data/dict.utf8.xdb
+share/postgresql/tsearch_data/rules.utf8.ini
+share/postgresql/extension/zhparser--1.0.sql
+share/postgresql/extension/zhparser--1.0--2.0.sql
+share/postgresql/extension/zhparser--2.0--2.1.sql
+share/postgresql/extension/zhparser--2.0.sql
+share/postgresql/extension/zhparser--2.1--2.2.sql
+share/postgresql/extension/zhparser--2.1.sql