diff --git a/devel/hoel/Makefile b/devel/hoel/Makefile index 534d04f88fd0..c30b599fc362 100644 --- a/devel/hoel/Makefile +++ b/devel/hoel/Makefile @@ -1,47 +1,45 @@ PORTNAME= hoel +PORTVERSION= 1.4.27 DISTVERSIONPREFIX= v -DISTVERSION= 1.4.26 CATEGORIES= devel -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Database abstraction library written in C -WWW= https://github.com/babelouest/hoel +WWW= https://babelouest.github.io/hoel/ \ + https://github.com/babelouest/hoel LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake - -USE_GITHUB= yes -GH_ACCOUNT= babelouest +USES= cmake pathfix +BUILD_DEPENDS= jansson>=2.4:devel/jansson \ + orcania>=2.3.2:devel/orcania \ + yder>=1.4.19:devel/yder LIB_DEPENDS= libjansson.so:devel/jansson \ - liborcania.so:devel/orcania + liborcania.so:devel/orcania \ + libyder.so:devel/yder -BUILD_DEPENDS= orcania>0:devel/orcania \ - yder>0:devel/yder +CMAKE_OFF= BUILD_HOEL_DOCUMENTATION BUILD_HOEL_TESTING BUILD_RPM DOWNLOAD_DEPENDENCIES +CMAKE_ON= BUILD_STATIC INSTALL_HEADER SEARCH_ORCANIA_H SEARCH_YDER -RUN_DEPENDS= jansson>0:devel/jansson \ - yder>0:devel/yder +PLIST_SUB= PORTVERSION=${PORTVERSION} -OPTIONS_DEFINE= MARIADB PGSQL SQLITE3 -OPTIONS_DEFAULT= PGSQL +USE_GITHUB= yes +GH_ACCOUNT= babelouest +OPTIONS_SINGLE= DB +OPTIONS_SINGLE_DB= 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= sqlite - MARIADB_CMAKE_BOOL= WITH_MARIADB +MARIADB_USES= mysql PGSQL_CMAKE_BOOL= WITH_PGSQL +PGSQL_USES= pgsql SQLITE3_CMAKE_BOOL= WITH_SQLITE3 - -PLIST_SUB= PORTVERSION=${PORTVERSION} - -CMAKE_ARGS= -DWITH_JOURNALD=off \ - -DDOWNLOAD_DEPENDENCIES=off +SQLITE3_USES= sqlite .include diff --git a/devel/hoel/distinfo b/devel/hoel/distinfo index f11524ec7f23..77056f01ff73 100644 --- a/devel/hoel/distinfo +++ b/devel/hoel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670088729 -SHA256 (babelouest-hoel-v1.4.26_GH0.tar.gz) = 6031fa0337723547ea29a9e36efaf84614125fe36f1b0099371cc058f91c15ac -SIZE (babelouest-hoel-v1.4.26_GH0.tar.gz) = 85161 +TIMESTAMP = 1686496680 +SHA256 (babelouest-hoel-v1.4.27_GH0.tar.gz) = 0bd5c3ec446b59ccae0232fd7055e23bbc1dcddbf0d462f04e8aa2d01a1c6311 +SIZE (babelouest-hoel-v1.4.27_GH0.tar.gz) = 62989 diff --git a/devel/hoel/pkg-descr b/devel/hoel/pkg-descr index e784cc9032c2..4ce5e9574efa 100644 --- a/devel/hoel/pkg-descr +++ b/devel/hoel/pkg-descr @@ -1,5 +1,3 @@ -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. +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. diff --git a/devel/hoel/pkg-plist b/devel/hoel/pkg-plist index 6376f29d5c60..261c16d314e8 100644 --- a/devel/hoel/pkg-plist +++ b/devel/hoel/pkg-plist @@ -1,6 +1,7 @@ include/hoel-cfg.h include/hoel.h +lib/libhoel.a lib/libhoel.so lib/libhoel.so.1.4 lib/libhoel.so.%%PORTVERSION%% libdata/pkgconfig/libhoel.pc