From dd694b0e4298bcc13b3d22eef5b46b5ac8c4c620 Mon Sep 17 00:00:00 2001 From: alek Date: Sun, 2 Oct 2005 13:26:31 +0000 Subject: [PATCH] Import libpqxx 2.5.3 libpqxx is a front-end (in the sense of "language binding") for writing C++ programs that use PostgreSQL. It supersedes the older libpq++ interface, which came bundled with the DBMS. ok espie@ --- databases/libpqxx/Makefile | 29 ++++++++ databases/libpqxx/distinfo | 4 + .../libpqxx/patches/patch-src_Makefile_in | 15 ++++ databases/libpqxx/pkg/DESCR | 3 + databases/libpqxx/pkg/PFRAG.shared | 2 + databases/libpqxx/pkg/PLIST | 74 +++++++++++++++++++ 6 files changed, 127 insertions(+) create mode 100644 databases/libpqxx/Makefile create mode 100644 databases/libpqxx/distinfo create mode 100644 databases/libpqxx/patches/patch-src_Makefile_in create mode 100644 databases/libpqxx/pkg/DESCR create mode 100644 databases/libpqxx/pkg/PFRAG.shared create mode 100644 databases/libpqxx/pkg/PLIST diff --git a/databases/libpqxx/Makefile b/databases/libpqxx/Makefile new file mode 100644 index 00000000000..ad4ded862b7 --- /dev/null +++ b/databases/libpqxx/Makefile @@ -0,0 +1,29 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2005/10/02 13:26:31 alek Exp $ + +COMMENT= "C++ client API for PostgreSQL" + +DISTNAME= libpqxx-2.5.3 +CATEGORIES= databases + +HOMEPAGE= http://gborg.postgresql.org/project/libpqxx/ + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://gborg.postgresql.org/download/libpqxx/stable/ \ + ftp://gborg.postgresql.org/pub/libpqxx/stable/ + +LIB_DEPENDS= pq.4:postgresql-client-*:databases/postgresql + +USE_LIBTOOL= Yes + +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS= ${CONFIGURE_SHARED} + +# Regression tests connect to real database +NO_REGRESS= Yes + +.include diff --git a/databases/libpqxx/distinfo b/databases/libpqxx/distinfo new file mode 100644 index 00000000000..f758ec1f134 --- /dev/null +++ b/databases/libpqxx/distinfo @@ -0,0 +1,4 @@ +MD5 (libpqxx-2.5.3.tar.gz) = 832f84d1395fbf33e64b17b8b27b2d11 +RMD160 (libpqxx-2.5.3.tar.gz) = 5f701288819f09169509fbeb3c4777d4002b0785 +SHA1 (libpqxx-2.5.3.tar.gz) = 23cec9349eb52d918d2f518296d0baa704d16cde +SIZE (libpqxx-2.5.3.tar.gz) = 585467 diff --git a/databases/libpqxx/patches/patch-src_Makefile_in b/databases/libpqxx/patches/patch-src_Makefile_in new file mode 100644 index 00000000000..de9662da42a --- /dev/null +++ b/databases/libpqxx/patches/patch-src_Makefile_in @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_Makefile_in,v 1.1.1.1 2005/10/02 13:26:31 alek Exp $ +--- src/Makefile.in.orig Thu May 19 10:22:36 2005 ++++ src/Makefile.in Wed Jun 15 21:28:57 2005 +@@ -214,9 +217,9 @@ libpqxx_la_SOURCES = binarystring.cxx \ + + + # Uncomment to build an unversioned library (version in soname) +-libpqxx_version = -release $(PQXXVERSION) ++# libpqxx_version = -release $(PQXXVERSION) + # Uncomment to build a versioned library +-#libpqxx_version = -version-info $(ABI_CURRENT):$(ABI_REVISION):$(ABI_AGE) ++# libpqxx_version = -version-info $(ABI_CURRENT):$(ABI_REVISION):$(ABI_AGE) + libpqxx_la_LDFLAGS = $(libpqxx_version) \ + -rpath $(libdir) \ + ${POSTGRES_LIB} diff --git a/databases/libpqxx/pkg/DESCR b/databases/libpqxx/pkg/DESCR new file mode 100644 index 00000000000..a7e8a37f903 --- /dev/null +++ b/databases/libpqxx/pkg/DESCR @@ -0,0 +1,3 @@ +libpqxx is a front-end (in the sense of "language binding") for writing +C++ programs that use PostgreSQL. It supersedes the older libpq++ +interface, which came bundled with the DBMS. diff --git a/databases/libpqxx/pkg/PFRAG.shared b/databases/libpqxx/pkg/PFRAG.shared new file mode 100644 index 00000000000..07000f28dae --- /dev/null +++ b/databases/libpqxx/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/10/02 13:26:31 alek Exp $ +@lib lib/libpqxx.so.0.0 diff --git a/databases/libpqxx/pkg/PLIST b/databases/libpqxx/pkg/PLIST new file mode 100644 index 00000000000..580dbdb2f59 --- /dev/null +++ b/databases/libpqxx/pkg/PLIST @@ -0,0 +1,74 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2005/10/02 13:26:31 alek Exp $ +%%SHARED%% +bin/pqxx-config +include/pqxx/ +include/pqxx/all.h +include/pqxx/binarystring +include/pqxx/binarystring.hxx +include/pqxx/cachedresult.h +include/pqxx/config-public-compiler.h +include/pqxx/connection +include/pqxx/connection.h +include/pqxx/connection.hxx +include/pqxx/connection_base +include/pqxx/connection_base.h +include/pqxx/connection_base.hxx +include/pqxx/connectionitf.h +include/pqxx/cursor +include/pqxx/cursor.h +include/pqxx/cursor.hxx +include/pqxx/dbtransaction +include/pqxx/dbtransaction.h +include/pqxx/dbtransaction.hxx +include/pqxx/except +include/pqxx/except.h +include/pqxx/except.hxx +include/pqxx/isolation +include/pqxx/isolation.h +include/pqxx/isolation.hxx +include/pqxx/largeobject +include/pqxx/largeobject.h +include/pqxx/largeobject.hxx +include/pqxx/libcompiler.h +include/pqxx/libpq-forward.hxx +include/pqxx/nontransaction +include/pqxx/nontransaction.h +include/pqxx/nontransaction.hxx +include/pqxx/pipeline +include/pqxx/pipeline.hxx +include/pqxx/pqxx +include/pqxx/result +include/pqxx/result.h +include/pqxx/result.hxx +include/pqxx/robusttransaction +include/pqxx/robusttransaction.h +include/pqxx/robusttransaction.hxx +include/pqxx/tablereader +include/pqxx/tablereader.h +include/pqxx/tablereader.hxx +include/pqxx/tablestream +include/pqxx/tablestream.h +include/pqxx/tablestream.hxx +include/pqxx/tablewriter +include/pqxx/tablewriter.h +include/pqxx/tablewriter.hxx +include/pqxx/transaction +include/pqxx/transaction.h +include/pqxx/transaction.hxx +include/pqxx/transaction_base +include/pqxx/transaction_base.h +include/pqxx/transaction_base.hxx +include/pqxx/transactionitf.h +include/pqxx/transactor +include/pqxx/transactor.h +include/pqxx/transactor.hxx +include/pqxx/trigger +include/pqxx/trigger.h +include/pqxx/trigger.hxx +include/pqxx/util +include/pqxx/util.h +include/pqxx/util.hxx +lib/libpqxx.a +lib/libpqxx.la +lib/pkgconfig/ +lib/pkgconfig/libpqxx.pc