2023-08-16 22:26:55 +00:00
|
|
|
COMMENT= ODBC driver for PostgreSQL
|
|
|
|
VERSION= 13.02.0000
|
|
|
|
PKGNAME= postgresql-odbc-${VERSION}
|
|
|
|
DISTNAME= psqlodbc-${VERSION}
|
|
|
|
CATEGORIES= databases
|
|
|
|
|
|
|
|
HOMEPAGE= https://odbc.postgresql.org/
|
|
|
|
|
|
|
|
MAINTAINER= Paul Irofti <paul@irofti.net>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
|
2023-09-20 18:59:05 +00:00
|
|
|
SITES= https://ftp.postgresql.org/pub/odbc/versions/src/
|
2023-08-16 22:26:55 +00:00
|
|
|
|
|
|
|
LIB_DEPENDS = databases/postgresql>=10.3 \
|
|
|
|
databases/iodbc
|
|
|
|
|
|
|
|
WANTLIB = crypto iodbc iodbcinst m pq pthread ssl
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --with-iodbc --without-unixodbc
|
|
|
|
|
|
|
|
NO_TEST= Yes
|
|
|
|
|
|
|
|
_TESTENV = PGUSER=postgres \
|
|
|
|
PGHOST=localhost \
|
|
|
|
PGPASS=password
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
cd ${WRKSRC}/test; env ${_TESTENV} ${MAKE_PROGRAM} installcheck
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|