databases/nanodbc: New port: Small C++ wrapper for the native C ODBC API

This commit is contained in:
Yuri Victorovich 2023-01-13 17:07:09 -08:00
parent 7c565b7936
commit 7d3a3b7c0b
5 changed files with 34 additions and 0 deletions

View file

@ -227,6 +227,7 @@
SUBDIR += nagios-check_postgres_replication
SUBDIR += nagios-check_redis
SUBDIR += namazu2
SUBDIR += nanodbc
SUBDIR += neo4j
SUBDIR += ocaml-dbm
SUBDIR += ocaml-mysql

View file

@ -0,0 +1,24 @@
PORTNAME= nanodbc
DISTVERSIONPREFIX= v
DISTVERSION= 2.14.0
CATEGORIES= databases devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Small C++ wrapper for the native C ODBC API
WWW= https://nanodbc.github.io/nanodbc/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libodbc.so:databases/unixODBC
USES= cmake:testing compiler:c++14-lang localbase:ldflags # pkgconfig python:build
USE_LDCONFIG= yes
USE_GITHUB= yes
CMAKE_ON= BUILD_SHARED_LIBS \
NANODBC_DISABLE_TESTS NANODBC_DISABLE_EXAMPLES
CMAKE_TESTING_ARGS= -DNANODBC_DISABLE_TESTS=OFF # many tests fail: Data source name not found and no default
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1673647747
SHA256 (nanodbc-nanodbc-v2.14.0_GH0.tar.gz) = 56228372042b689beccd96b0ac3476643ea85b3f57b3f23fb11ca4314e68b9a5
SIZE (nanodbc-nanodbc-v2.14.0_GH0.tar.gz) = 707731

View file

@ -0,0 +1 @@
nanodbc is a small library that makes ODBC API programming easy and fun again.

View file

@ -0,0 +1,5 @@
include/nanodbc/nanodbc.h
lib/cmake/nanodbc/nanodbc-config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/nanodbc/nanodbc-config.cmake
lib/libnanodbc.so
lib/libnanodbc.so.2.14.0