(2 versions); packaged for wip by Aleksey Cheusov. libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.
21 lines
605 B
Makefile
21 lines
605 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $
|
|
#
|
|
|
|
.include "../../databases/libdbi/Makefile_drivers"
|
|
|
|
PKGREVISION= 1
|
|
LICENSE= gnu-lgpl-v2
|
|
|
|
DRIVER= pgsql
|
|
|
|
COMMENT= PostgreSQL driver for libdbi, a database abstraction
|
|
|
|
CONFLICTS= libdbi-pgsql-[0-9]*
|
|
|
|
CONFIGURE_ARGS+= --with-pgsql
|
|
CONFIGURE_ARGS+= --with-pgsql-incdir=${BUILDLINK_PREFIX.postgresql82-client}/include
|
|
CONFIGURE_ARGS+= --with-pgsql-libdir=${BUILDLINK_PREFIX.postgresql82-client}/lib
|
|
|
|
.include "../../databases/libdbi/buildlink3.mk"
|
|
.include "../../databases/postgresql82-client/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|