Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2021 07:32:46 GMT
From:      Guangyuan Yang <ygy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8c5327da384a - main - databases/pg.el: New port: PostgreSQL Elisp interface
Message-ID:  <202106010732.1517WkcF018127@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by ygy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c5327da384adacda9e6b76344237cdcb0023528

commit 8c5327da384adacda9e6b76344237cdcb0023528
Author:     Yasuhiro Kimura <yasu@utahime.org>
AuthorDate: 2021-06-01 07:31:31 +0000
Commit:     Guangyuan Yang <ygy@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106010732.1517WkcF018127>