Date: Sat, 13 May 2023 06:38:11 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: e09a6a4430ff - main - databases/emacs-sqlite3-api: Add new port Message-ID: <202305130638.34D6cBF9029756@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=e09a6a4430ffdd7a6acd8701e2fdb0872aa40d5f commit e09a6a4430ffdd7a6acd8701e2fdb0872aa40d5f Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2023-05-12 07:37:02 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2023-05-13 06:34:08 +0000 databases/emacs-sqlite3-api: Add new port emacs-sqlite3-api is a dynamic module for GNU Emacs 25+ that provides direct access to the core SQLite3 C API from Emacs Lisp. https://github.com/pekingduck/emacs-sqlite3-api --- databases/Makefile | 1 + databases/emacs-sqlite3-api/Makefile | 41 +++++++++++++++++++++++++++++++++++ databases/emacs-sqlite3-api/distinfo | 3 +++ databases/emacs-sqlite3-api/pkg-descr | 2 ++ databases/emacs-sqlite3-api/pkg-plist | 3 +++ 5 files changed, 50 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index c24b7b8f9bc6..ce41ad199edf 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -57,6 +57,7 @@ SUBDIR += diesel SUBDIR += duckdb SUBDIR += ejdb + SUBDIR += emacs-sqlite3-api SUBDIR += emacsql SUBDIR += erlfdb SUBDIR += evolution-data-server diff --git a/databases/emacs-sqlite3-api/Makefile b/databases/emacs-sqlite3-api/Makefile new file mode 100644 index 000000000000..04347f68d103 --- /dev/null +++ b/databases/emacs-sqlite3-api/Makefile @@ -0,0 +1,41 @@ +PORTNAME= emacs-sqlite3-api +DISTVERSIONPREFIX= v +DISTVERSION= 0.17 +CATEGORIES= databases elisp +PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX} + +MAINTAINER= yasu@FreeBSD.org +COMMENT= SQLite3 API for Emacs 25+ +WWW= https://github.com/pekingduck/emacs-sqlite3-api + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libsqlite3.so:databases/sqlite3 + +USES= emacs gmake +USE_GITHUB= yes +GH_ACCOUNT= pekingduck + +MAKE_ENV+= LIB="-L${LOCALBASE}/lib -lsqlite3" + +CFLAGS+= -I${LOCALBASE}/include + +PORTDOCS= README.org + +OPTIONS_DEFINE= DOCS + +post-build: + (cd ${WRKSRC} \ + && ${EMACS_CMD} -Q -batch -f batch-byte-compile sqlite3.el) + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/sqlite3-api.so ${STAGEDIR}${PREFIX}/${EMACS_VERSION_SITE_LISPDIR} + ${INSTALL_DATA} ${WRKSRC}/sqlite3.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/emacs-sqlite3-api/distinfo b/databases/emacs-sqlite3-api/distinfo new file mode 100644 index 000000000000..d009cda62fdf --- /dev/null +++ b/databases/emacs-sqlite3-api/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1683877962 +SHA256 (pekingduck-emacs-sqlite3-api-v0.17_GH0.tar.gz) = 033fdc823a049759e2a9e32d103424197909ef383e33c151bb4974942498dd05 +SIZE (pekingduck-emacs-sqlite3-api-v0.17_GH0.tar.gz) = 35986 diff --git a/databases/emacs-sqlite3-api/pkg-descr b/databases/emacs-sqlite3-api/pkg-descr new file mode 100644 index 000000000000..16fdb403bf4b --- /dev/null +++ b/databases/emacs-sqlite3-api/pkg-descr @@ -0,0 +1,2 @@ +emacs-sqlite3-api is a dynamic module for GNU Emacs 25+ that provides +direct access to the core SQLite3 C API from Emacs Lisp. diff --git a/databases/emacs-sqlite3-api/pkg-plist b/databases/emacs-sqlite3-api/pkg-plist new file mode 100644 index 000000000000..b91ff6b250f9 --- /dev/null +++ b/databases/emacs-sqlite3-api/pkg-plist @@ -0,0 +1,3 @@ +%%EMACS_VERSION_SITE_LISPDIR%%/sqlite3-api.so +%%EMACS_VERSION_SITE_LISPDIR%%/sqlite3.el +%%EMACS_VERSION_SITE_LISPDIR%%/sqlite3.elc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202305130638.34D6cBF9029756>