git: 2332df972997 - main - databases/pg.el: Update to 0.16

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Sun, 06 Nov 2022 04:03:39 UTC
The branch main has been updated by yasu:

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

commit 2332df972997486096b61ea9631e80842a7f070b
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-11-06 03:28:13 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-11-06 04:02:59 +0000

    databases/pg.el: Update to 0.16
    
    * Switch to the repository owned by original author.
    * Also update WWW.
---
 databases/pg.el/Makefile | 15 ++++++++-------
 databases/pg.el/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/databases/pg.el/Makefile b/databases/pg.el/Makefile
index 009038fa6a25..f66f106ef4b8 100644
--- a/databases/pg.el/Makefile
+++ b/databases/pg.el/Makefile
@@ -1,20 +1,21 @@
 PORTNAME=	pg.el
-DISTVERSION=	0.13
-PORTREVISION=	4
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.16
 CATEGORIES=	databases elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
 MAINTAINER=	yasu@FreeBSD.org
 COMMENT=	PostgreSQL Elisp interface
-WWW=		https://github.com/cbbrowne/pg.el
+WWW=		https://github.com/emarsden/pg-el
 
 LICENSE=	GPLv2+
 
 USES=		emacs
 
 USE_GITHUB=	yes
-GH_ACCOUNT=	cbbrowne
-GH_TAGNAME=	4f6516e
+GH_ACCOUNT=	emarsden
+GH_PROJECT=	pg-el
+GH_TAGNAME=	${DISTVERSIONPREFIX}${DISTVERSION}
 
 CONFLICTS_INSTALL=	pg.el pg.el-emacs_* # share/doc/pg.el/README
 
@@ -23,7 +24,7 @@ NO_ARCH=	yes
 PLIST_FILES=	${EMACS_VERSION_SITE_LISPDIR}/pg.el \
 		${EMACS_VERSION_SITE_LISPDIR}/pg.elc
 
-PORTDOCS=	README
+PORTDOCS=	CHANGELOG.md README.md
 
 OPTIONS_DEFINE=	DOCS
 
@@ -38,6 +39,6 @@ do-install:
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:C/^/${WRKSRC}\//g} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>
diff --git a/databases/pg.el/distinfo b/databases/pg.el/distinfo
index 95f6ff3bd11f..faf725950899 100644
--- a/databases/pg.el/distinfo
+++ b/databases/pg.el/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621273465
-SHA256 (cbbrowne-pg.el-0.13-4f6516e_GH0.tar.gz) = d040b0783c4700bd07b8cea803fb1da6e202979acbeeeea127cbe17784eafa6e
-SIZE (cbbrowne-pg.el-0.13-4f6516e_GH0.tar.gz) = 15299
+TIMESTAMP = 1667704920
+SHA256 (emarsden-pg-el-v0.16_GH0.tar.gz) = 4fd681aa5e588c9ff5282e2cc6cc5449cf9cc1f946582a44deddc5836ed08002
+SIZE (emarsden-pg-el-v0.16_GH0.tar.gz) = 28606