git: 8c5327da384a - main - databases/pg.el: New port: PostgreSQL Elisp interface
Guangyuan Yang
ygy at FreeBSD.org
Tue Jun 1 07:32:47 UTC 2021
The branch main has been updated by ygy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8c5327da384adacda9e6b76344237cdcb0023528
commit 8c5327da384adacda9e6b76344237cdcb0023528
Author: Yasuhiro Kimura <yasu at utahime.org>
AuthorDate: 2021-06-01 07:31:31 +0000
Commit: Guangyuan Yang <ygy at FreeBSD.org>
CommitDate: 2021-06-01 07:31:31 +0000
databases/pg.el: New port: PostgreSQL Elisp interface
PR: 255951
Approved by: lwhsu (mentor)
---
databases/Makefile | 1 +
databases/pg.el/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
databases/pg.el/distinfo | 3 +++
databases/pg.el/pkg-descr | 9 +++++++++
4 files changed, 52 insertions(+)
diff --git a/databases/Makefile b/databases/Makefile
index 5af88681127e..f0fc592b26dc 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -558,6 +558,7 @@
SUBDIR += percona57-client
SUBDIR += percona57-pam-for-mysql
SUBDIR += percona57-server
+ SUBDIR += pg.el
SUBDIR += pgFormatter
SUBDIR += pg_activity
SUBDIR += pg_citus
diff --git a/databases/pg.el/Makefile b/databases/pg.el/Makefile
new file mode 100644
index 000000000000..a42761e3ebae
--- /dev/null
+++ b/databases/pg.el/Makefile
@@ -0,0 +1,39 @@
+PORTNAME= pg.el
+DISTVERSION= 0.13
+CATEGORIES= databases elisp
+PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER= yasu at utahime.org
+COMMENT= PostgreSQL Elisp interface
+
+LICENSE= GPLv2+
+
+USES= emacs
+
+USE_GITHUB= yes
+GH_ACCOUNT= cbbrowne
+GH_TAGNAME= 4f6516e
+
+NO_ARCH= yes
+
+PLIST_FILES= ${EMACS_VERSION_SITE_LISPDIR}/pg.el \
+ ${EMACS_VERSION_SITE_LISPDIR}/pg.elc
+
+PORTDOCS= README
+
+OPTIONS_DEFINE= DOCS
+
+do-build:
+ (cd ${WRKSRC} \
+ && ${EMACS_CMD} -Q -batch -L . -f batch-byte-compile *.el)
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}
+ (cd ${WRKSRC} && ${INSTALL_DATA} *.el* \
+ ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR})
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/databases/pg.el/distinfo b/databases/pg.el/distinfo
new file mode 100644
index 000000000000..95f6ff3bd11f
--- /dev/null
+++ b/databases/pg.el/distinfo
@@ -0,0 +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
diff --git a/databases/pg.el/pkg-descr b/databases/pg.el/pkg-descr
new file mode 100644
index 000000000000..a5a87c95b434
--- /dev/null
+++ b/databases/pg.el/pkg-descr
@@ -0,0 +1,9 @@
+This is an Emacs Lisp interface for PostgreSQL.
+
+This module lets you access the PostgreSQL object-relational DBMS from
+Emacs, using its socket-level frontend/backend protocol. The module is
+capable of automatic type coercions from a range of SQL types to the
+equivalent Emacs Lisp type. This is a low level API, and won't be
+useful to end users.
+
+WWW: https://github.com/cbbrowne/pg.el
More information about the dev-commits-ports-all
mailing list