Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2023 06:38:14 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 549ce14fc852 - main - databases/closql-devel: Add new port
Message-ID:  <202305130638.34D6cEVE029801@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=549ce14fc852e5ff66e614ed0a238b62e7d5423c

commit 549ce14fc852e5ff66e614ed0a238b62e7d5423c
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-05-12 10:02:17 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-05-13 06:34:48 +0000

    databases/closql-devel: Add new port
    
    Store uniform EIEIO objects in an EmacSQL database.
    
    This is development version of closql.
    
    https://github.com/magit/closql
---
 databases/Makefile               |  1 +
 databases/closql-devel/Makefile  | 46 ++++++++++++++++++++++++++++++++++++++++
 databases/closql-devel/distinfo  |  3 +++
 databases/closql-devel/pkg-descr |  5 +++++
 databases/closql-devel/pkg-plist |  3 +++
 databases/closql/Makefile        |  2 +-
 6 files changed, 59 insertions(+), 1 deletion(-)

diff --git a/databases/Makefile b/databases/Makefile
index df2e4c765cd0..d5a7824673a7 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -33,6 +33,7 @@
     SUBDIR += cegobridge
     SUBDIR += clickhouse
     SUBDIR += closql
+    SUBDIR += closql-devel
     SUBDIR += cockroach
     SUBDIR += couchdb3
     SUBDIR += courier-authlib-mysql
diff --git a/databases/closql-devel/Makefile b/databases/closql-devel/Makefile
new file mode 100644
index 000000000000..19dac59360c2
--- /dev/null
+++ b/databases/closql-devel/Makefile
@@ -0,0 +1,46 @@
+PORTNAME=	closql
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.2.1-25
+DISTVERSIONSUFFIX=	-g618c94d
+CATEGORIES=	databases elisp
+PKGNAMESUFFIX=	-devel${EMACS_PKGNAMESUFFIX}
+
+MAINTAINER=	yasu@FreeBSD.org
+COMMENT=	Store EIEIO objects using EmacSQL
+WWW=		https://github.com/magit/closql
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR} \
+		emacsql-devel${EMACS_PKGNAMESUFFIX}>=3.1.1:databases/emacsql-devel@${EMACS_FLAVOR}
+RUN_DEPENDS=	compat.el${EMACS_PKGNAMESUFFIX}>=29.1.4.1:misc/compat.el@${EMACS_FLAVOR} \
+		emacsql-devel${EMACS_PKGNAMESUFFIX}>=3.1.1:databases/emacsql-devel@${EMACS_FLAVOR}
+
+USES=		emacs gmake
+USE_GITHUB=	yes
+GH_ACCOUNT=	magit
+
+MAKE_ENV+=	LOAD_PATH="${LOAD_PATH}"
+
+CONFLICTS_INSTALL=	closql closql-emacs_* # share/doc/closql/README.md
+
+NO_ARCH=	yes
+
+PORTDOCS=	README.org
+
+OPTIONS_DEFINE=	DOCS
+
+LOAD_PATH=	-L ${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/compat -L \
+		${PREFIX}/${EMACS_VERSION_SITE_LISPDIR}/emacsql
+
+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.org ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/databases/closql-devel/distinfo b/databases/closql-devel/distinfo
new file mode 100644
index 000000000000..ffb63784943a
--- /dev/null
+++ b/databases/closql-devel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1683885994
+SHA256 (magit-closql-v1.2.1-25-g618c94d_GH0.tar.gz) = 8343a97a45a6c0eb9d749b2e8dbebc8b5beebd53f202b5b71202ce43f6ca2017
+SIZE (magit-closql-v1.2.1-25-g618c94d_GH0.tar.gz) = 21895
diff --git a/databases/closql-devel/pkg-descr b/databases/closql-devel/pkg-descr
new file mode 100644
index 000000000000..a659e7d8aa15
--- /dev/null
+++ b/databases/closql-devel/pkg-descr
@@ -0,0 +1,5 @@
+Store uniform EIEIO objects in an EmacSQL database. SQLite is used as
+backend. This library imposes some restrictions on what kind of
+objects can be stored; it isn't intended to store arbitrary
+objects. All objects have to share a common superclass and subclasses
+cannot add any additional instance slots.
diff --git a/databases/closql-devel/pkg-plist b/databases/closql-devel/pkg-plist
new file mode 100644
index 000000000000..34f8553a160e
--- /dev/null
+++ b/databases/closql-devel/pkg-plist
@@ -0,0 +1,3 @@
+%%EMACS_VERSION_SITE_LISPDIR%%/closql-autoloads.el
+%%EMACS_VERSION_SITE_LISPDIR%%/closql.el
+%%EMACS_VERSION_SITE_LISPDIR%%/closql.elc
diff --git a/databases/closql/Makefile b/databases/closql/Makefile
index 88234373645f..132434bffe77 100644
--- a/databases/closql/Makefile
+++ b/databases/closql/Makefile
@@ -19,7 +19,7 @@ USES=		emacs
 USE_GITHUB=	yes
 GH_ACCOUNT=	magit
 
-CONFLICTS_INSTALL=	closql closql-emacs_* # share/doc/closql/README.md
+CONFLICTS_INSTALL=	closql closql-devel* closql-emacs_*
 
 NO_ARCH=	yes
 



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