aboutsummaryrefslogtreecommitdiff
path: root/databases/closql-devel
diff options
context:
space:
mode:
authorYasuhiro Kimura <yasu@FreeBSD.org>2023-05-12 10:02:17 +0000
committerYasuhiro Kimura <yasu@FreeBSD.org>2023-05-13 06:34:48 +0000
commit549ce14fc852e5ff66e614ed0a238b62e7d5423c (patch)
treefca178b24b0c36db8c939610469662fb0b0ba886 /databases/closql-devel
parent214f1e0b757862e4e9081c6f1c06e48ad368a225 (diff)
downloadports-549ce14fc852e5ff66e614ed0a238b62e7d5423c.tar.gz
ports-549ce14fc852e5ff66e614ed0a238b62e7d5423c.zip
Diffstat (limited to 'databases/closql-devel')
-rw-r--r--databases/closql-devel/Makefile46
-rw-r--r--databases/closql-devel/distinfo3
-rw-r--r--databases/closql-devel/pkg-descr5
-rw-r--r--databases/closql-devel/pkg-plist3
4 files changed, 57 insertions, 0 deletions
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