git: 63a478469ad1 - main - databases/pg.el: Update to 0.39

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 16 Aug 2024 07:20:45 UTC
The branch main has been updated by yasu:

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

commit 63a478469ad1d33f1b71baf00690a5c9411d3838
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-08-16 04:46:35 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-08-16 07:18:10 +0000

    databases/pg.el: Update to 0.39
    
    * Install files to ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/pg.el.
    * Switch from PLIST_SUB to pkg-plist as package includes eight files
      now.
    
    ChangeLog:      https://github.com/emarsden/pg-el/blob/v0.39/CHANGELOG.md
---
 databases/pg.el/Makefile  | 12 ++++++------
 databases/pg.el/distinfo  |  6 +++---
 databases/pg.el/pkg-plist |  8 ++++++++
 3 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/databases/pg.el/Makefile b/databases/pg.el/Makefile
index 4194342d8a7b..effb4ff8bdfc 100644
--- a/databases/pg.el/Makefile
+++ b/databases/pg.el/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	pg.el
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.36
-PORTREVISION=	1
+DISTVERSION=	0.39
 CATEGORIES=	databases elisp
 PKGNAMESUFFIX=	${EMACS_PKGNAMESUFFIX}
 
@@ -24,22 +23,23 @@ CONFLICTS_INSTALL=	pg.el pg.el-emacs_* # share/doc/pg.el/README
 
 NO_ARCH=	yes
 
-PLIST_FILES=	${EMACS_VERSION_SITE_LISPDIR}/pg.el \
-		${EMACS_VERSION_SITE_LISPDIR}/pg.elc
+PLIST_SUB+=	ELISPDIR=${ELISPDIR}
 
 PORTDOCS=	CHANGELOG.md README.md
 
 OPTIONS_DEFINE=	DOCS
 
+ELISPDIR=	${EMACS_VERSION_SITE_LISPDIR}/${PORTNAME}
+
 do-build:
 	(cd ${WRKSRC} \
 	&& ${EMACS_CMD} -Q -batch -L . -L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} \
 	-f batch-byte-compile *.el)
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+	${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
 	(cd ${WRKSRC} && ${INSTALL_DATA} *.el* \
-	    ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR})
+	    ${STAGEDIR}${PREFIX}/${ELISPDIR})
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/databases/pg.el/distinfo b/databases/pg.el/distinfo
index f17f63168640..a2cecbad5d59 100644
--- a/databases/pg.el/distinfo
+++ b/databases/pg.el/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1719426481
-SHA256 (emarsden-pg-el-v0.36_GH0.tar.gz) = 69de0be79aeda4d7d7bc116e383d9fbb8aa325a362358bd3c153679eed3c3a9a
-SIZE (emarsden-pg-el-v0.36_GH0.tar.gz) = 94651
+TIMESTAMP = 1723783381
+SHA256 (emarsden-pg-el-v0.39_GH0.tar.gz) = b375234c397918922286c35cbcccd2d3a3b2388dd34212bca578a4d452f95591
+SIZE (emarsden-pg-el-v0.39_GH0.tar.gz) = 111328
diff --git a/databases/pg.el/pkg-plist b/databases/pg.el/pkg-plist
new file mode 100644
index 000000000000..130dbbba08bd
--- /dev/null
+++ b/databases/pg.el/pkg-plist
@@ -0,0 +1,8 @@
+%%ELISPDIR%%/pg-geometry.el
+%%ELISPDIR%%/pg-geometry.elc
+%%ELISPDIR%%/pg-gis.el
+%%ELISPDIR%%/pg-gis.elc
+%%ELISPDIR%%/pg-lo.el
+%%ELISPDIR%%/pg-lo.elc
+%%ELISPDIR%%/pg.el
+%%ELISPDIR%%/pg.elc