diff options
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/emacs-sqlite3-api/Makefile | 41 | ||||
-rw-r--r-- | databases/emacs-sqlite3-api/distinfo | 3 | ||||
-rw-r--r-- | databases/emacs-sqlite3-api/pkg-descr | 2 | ||||
-rw-r--r-- | databases/emacs-sqlite3-api/pkg-plist | 3 |
5 files changed, 50 insertions, 0 deletions
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 |