# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories databases devel
description Official C++ client API for PostgreSQL
libpqxx is the official C++ client API for PostgreSQL, the enterprise-strength \
open-source database software. There are many similar libraries for PostgreSQL \
and for other databases, some of them database independent. Most of these, \
however, are fairly C like in their programming style, and fail to take \
advantage of the full power of the C++ language as it has matured since \
the acceptance of the Standard in 1996. What libpqxx brings you is effective \
use of templates to reduce the inconvenience of dealing with type conversions, \
standard C++ strings to keep you from having to worry about buffer allocation \
and overflow attacks, exceptions to take the tedious and error prone plumbing \
around error handling out of your hands, constructors and destructors to bring \
resource management under control, and even basic object orientation to give \
you some extra reliability features that would be hard to get with most other \
homepage http://pqxx.org/development/libpqxx/
master_sites http://pqxx.org/download/software/libpqxx/
distname libpqxx-${version}
md5 0b0c64af41dfdeea8556dc359994e1cb \
sha1 8be9dcd0375337b170d5c94370fa896911d361f1 \
rmd160 c456b5a3ed3c96963aad334d3504ed0443a8f63e
depends_build port:pkgconfig
depends_lib port:${server}
# postgresql83 is not universal
PG_CONFIG=${prefix}/lib/${server}/bin/pg_config
# Enable tests after the build phase; see
# http://guide.macports.org/#reference.phases.test
# http://pqxx.org/development/libpqxx/browser/trunk/README?rev=latest
# http://pqxx.org/development/libpqxx/wiki/TestDocs