mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
5da40726fc
- Update WWW - Update version requirement of BUILD_DEPENDS - Use USES=pathfix to fix .pc installation - Use complete arguments/options - Use OPTIONS_SINGLE instead of OPTIONS_DEFINE since it needs at least 1 backend - Update pkg-descr - Take maintainership Changes: https://github.com/babelouest/hoel/releases
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
PORTNAME= hoel
|
|
PORTVERSION= 1.4.27
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Database abstraction library written in C
|
|
WWW= https://babelouest.github.io/hoel/ \
|
|
https://github.com/babelouest/hoel
|
|
|
|
LICENSE= LGPL21
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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 \
|
|
libyder.so: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
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
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_CMAKE_BOOL= WITH_MARIADB
|
|
MARIADB_USES= mysql
|
|
PGSQL_CMAKE_BOOL= WITH_PGSQL
|
|
PGSQL_USES= pgsql
|
|
SQLITE3_CMAKE_BOOL= WITH_SQLITE3
|
|
SQLITE3_USES= sqlite
|
|
|
|
.include <bsd.port.mk>
|