devel/hoel: New port: Database abstraction library

Added because it is a dependency of www/glewlwyd - see upcoming commit
This commit is contained in:
Dan Langille 2021-12-28 23:07:35 +00:00
parent 1cc2dd01e9
commit 1404b2c1e2
5 changed files with 63 additions and 0 deletions

View file

@ -961,6 +961,7 @@
SUBDIR += hgsvn
SUBDIR += hhdate
SUBDIR += highlighterkit
SUBDIR += hoel
SUBDIR += horde-content
SUBDIR += horde-timeobjects
SUBDIR += horde-whups

46
devel/hoel/Makefile Normal file
View file

@ -0,0 +1,46 @@
PORTNAME= hoel
DISTVERSIONPREFIX= v
DISTVERSION= 1.4.14
CATEGORIES= devel
MAINTAINER= dvl@FreeBSD.org
COMMENT= Database abstraction library written in C
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake
USE_GITHUB= yes
GH_ACCOUNT= babelouest
LIB_DEPENDS+= libjansson.so:devel/jansson
LIB_DEPENDS+= liborcania.so:devel/orcania
BUILD_DEPENDS+= orcania>0:devel/orcania
BUILD_DEPENDS+= yder>0:devel/yder
RUN_DEPENDS+= jansson>0:devel/jansson
RUN_DEPENDS+= yder>0:devel/yder
OPTIONS_DEFINE= MARIADB PGSQL SQLITE3
OPTIONS_DEFAULT= PGSQL
PGSQL_DESC= Use PostgreSQL as backend
SQLITE3_DESC= Use SQLite 3 as backend
MARIADB_DESC= Use MariaDB as backend
MARIADB_USES= mariadb
PGSQL_USES= pgsql
SQLITE3_USES= sqlite3
MARIADB_CMAKE_BOOL= WITH_MARIADB
PGSQL_CMAKE_BOOL= WITH_PGSQL
SQLITE3_CMAKE_BOOL= WITH_SQLITE3
CMAKE_ARGS= -DWITH_JOURNALD=off
# -DWITH_PGSQL=on
# -DWITH_SQLITE3=off
# -DWITH_MARIADB=off
.include <bsd.port.mk>

3
devel/hoel/distinfo Normal file
View file

@ -0,0 +1,3 @@
TIMESTAMP = 1640726967
SHA256 (babelouest-hoel-v1.4.14_GH0.tar.gz) = 613920cb9ab7cebb1435117f8f750b19b93b7eae2ce7204bef0564b882a2333d
SIZE (babelouest-hoel-v1.4.14_GH0.tar.gz) = 203595

7
devel/hoel/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
Database abstraction library written in C.
Simple and easy to use database access library. Works with SQLite 3,
MariaDB and PostgreSQL databases. Uses a JSON-based language with
jansson to execute simple queries based on one table.
WWW: https://github.com/babelouest/hoel

6
devel/hoel/pkg-plist Normal file
View file

@ -0,0 +1,6 @@
include/hoel-cfg.h
include/hoel.h
lib/libhoel.so
lib/libhoel.so.1.4
lib/libhoel.so.1.4.14
libdata/pkgconfig/libhoel.pc