summaryrefslogtreecommitdiff
path: root/databases/postgresql-libpqxx
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-02-07 07:08:33 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-02-07 07:08:33 +0000
commit40834ed19974f0cd95ecaedc534a7fd772223f88 (patch)
treef20966c4321ea3c6cdb4b8527a45c9ba60852302 /databases/postgresql-libpqxx
parent- Update to 0.10 (diff)
- restore databases/postgresql-libpqxx, distfiles are now available
- maintainership over to pgsql@ (with hat pgsql@) Reported by: kjedruczyk@fastmail.net
Notes
Notes: svn path=/head/; revision=311812
Diffstat (limited to 'databases/postgresql-libpqxx')
-rw-r--r--databases/postgresql-libpqxx/Makefile33
-rw-r--r--databases/postgresql-libpqxx/distinfo2
-rw-r--r--databases/postgresql-libpqxx/files/patch-Makefile.in11
-rw-r--r--databases/postgresql-libpqxx/pkg-descr18
-rw-r--r--databases/postgresql-libpqxx/pkg-plist102
5 files changed, 166 insertions, 0 deletions
diff --git a/databases/postgresql-libpqxx/Makefile b/databases/postgresql-libpqxx/Makefile
new file mode 100644
index 000000000000..23dbfdd57025
--- /dev/null
+++ b/databases/postgresql-libpqxx/Makefile
@@ -0,0 +1,33 @@
+# Created by: Palle Girgensohn <girgen@pingpong.net>
+# $FreeBSD$
+
+PORTNAME= libpqxx
+PORTVERSION= 4.0
+CATEGORIES= databases
+MASTER_SITES= http://pqxx.org/download/software/libpqxx/
+PKGNAMEPREFIX= postgresql-
+DIST_SUBDIR= postgresql
+
+MAINTAINER= pgsql@FreeBSD.org
+COMMENT= New C++ interface for PostgreSQL
+
+CONFLICTS= postgresql-libpqxx-3.*
+PORTSCOUT= limit:^2\.
+
+USE_PGSQL= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+SOVERSION= 4
+PLIST_SUB= PORTVERSION=${PORTVERSION} \
+ SOVERSION=${SOVERSION}
+
+CONFIGURE_ARGS= --enable-shared \
+ --disable-dependency-tracking
+
+post-install:
+# This is needed for ldconfig
+ ${LN} -s ${PREFIX}/lib/libpqxx-${PORTVERSION}.so \
+ ${PREFIX}/lib/libpqxx.so.${SOVERSION}
+
+.include <bsd.port.mk>
diff --git a/databases/postgresql-libpqxx/distinfo b/databases/postgresql-libpqxx/distinfo
new file mode 100644
index 000000000000..ea55b7a63fea
--- /dev/null
+++ b/databases/postgresql-libpqxx/distinfo
@@ -0,0 +1,2 @@
+SHA256 (postgresql/libpqxx-4.0.tar.gz) = b160043289cfbf2a186d3b12f9976b6914e76d918d3d4469ff408bd199bbb8ed
+SIZE (postgresql/libpqxx-4.0.tar.gz) = 2631181
diff --git a/databases/postgresql-libpqxx/files/patch-Makefile.in b/databases/postgresql-libpqxx/files/patch-Makefile.in
new file mode 100644
index 000000000000..3d2b02a8ec93
--- /dev/null
+++ b/databases/postgresql-libpqxx/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2011-09-12 11:39:56.000000000 +0200
++++ Makefile.in 2011-09-12 11:40:48.000000000 +0200
+@@ -270,7 +270,7 @@
+ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in config.log configure \
+ stamp-h.in
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libpqxx.pc
+ bin_SCRIPTS = pqxx-config
+ all: all-recursive
diff --git a/databases/postgresql-libpqxx/pkg-descr b/databases/postgresql-libpqxx/pkg-descr
new file mode 100644
index 000000000000..5697d09a3e4d
--- /dev/null
+++ b/databases/postgresql-libpqxx/pkg-descr
@@ -0,0 +1,18 @@
+Welcome to libpqxx, the official C++ API to the PostgreSQL database
+management system.
+
+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; of standard C++ strings to keep you from having
+to worry about buffer allocation and overflow attacks; of exceptions
+to take the tedious and error-prone plumbing around error handling out
+of your hands; of 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 database interfaces.
+
+WWW: http://pqxx.org/
diff --git a/databases/postgresql-libpqxx/pkg-plist b/databases/postgresql-libpqxx/pkg-plist
new file mode 100644
index 000000000000..0528d2f8572e
--- /dev/null
+++ b/databases/postgresql-libpqxx/pkg-plist
@@ -0,0 +1,102 @@
+bin/pqxx-config
+include/pqxx/basic_connection
+include/pqxx/basic_connection.hxx
+include/pqxx/binarystring
+include/pqxx/binarystring.hxx
+include/pqxx/compiler-internal-post.hxx
+include/pqxx/compiler-internal-pre.hxx
+include/pqxx/compiler-public.hxx
+include/pqxx/config-public-compiler.h
+include/pqxx/connection
+include/pqxx/connection.hxx
+include/pqxx/connection_base
+include/pqxx/connection_base.hxx
+include/pqxx/connectionpolicy
+include/pqxx/connectionpolicy.hxx
+include/pqxx/cursor
+include/pqxx/cursor.hxx
+include/pqxx/dbtransaction
+include/pqxx/dbtransaction.hxx
+include/pqxx/errorhandler
+include/pqxx/errorhandler.hxx
+include/pqxx/except
+include/pqxx/except.hxx
+include/pqxx/field
+include/pqxx/field.hxx
+include/pqxx/internal/callgate.hxx
+include/pqxx/internal/gates/connection-dbtransaction.hxx
+include/pqxx/internal/gates/connection-errorhandler.hxx
+include/pqxx/internal/gates/connection-largeobject.hxx
+include/pqxx/internal/gates/connection-notification_receiver.hxx
+include/pqxx/internal/gates/connection-parameterized_invocation.hxx
+include/pqxx/internal/gates/connection-pipeline.hxx
+include/pqxx/internal/gates/connection-prepare-invocation.hxx
+include/pqxx/internal/gates/connection-reactivation_avoidance_exemption.hxx
+include/pqxx/internal/gates/connection-sql_cursor.hxx
+include/pqxx/internal/gates/connection-transaction.hxx
+include/pqxx/internal/gates/errorhandler-connection.hxx
+include/pqxx/internal/gates/icursor_iterator-icursorstream.hxx
+include/pqxx/internal/gates/icursorstream-icursor_iterator.hxx
+include/pqxx/internal/gates/result-connection.hxx
+include/pqxx/internal/gates/result-creation.hxx
+include/pqxx/internal/gates/result-sql_cursor.hxx
+include/pqxx/internal/gates/transaction-subtransaction.hxx
+include/pqxx/internal/gates/transaction-tablereader.hxx
+include/pqxx/internal/gates/transaction-tablewriter.hxx
+include/pqxx/internal/gates/transaction-transactionfocus.hxx
+include/pqxx/internal/libpq-forward.hxx
+include/pqxx/internal/result_data.hxx
+include/pqxx/internal/statement_parameters.hxx
+include/pqxx/isolation
+include/pqxx/isolation.hxx
+include/pqxx/largeobject
+include/pqxx/largeobject.hxx
+include/pqxx/nontransaction
+include/pqxx/nontransaction.hxx
+include/pqxx/notification
+include/pqxx/notification.hxx
+include/pqxx/notify-listen
+include/pqxx/notify-listen.hxx
+include/pqxx/performance.hxx
+include/pqxx/pipeline
+include/pqxx/pipeline.hxx
+include/pqxx/pqxx
+include/pqxx/prepared_statement
+include/pqxx/prepared_statement.hxx
+include/pqxx/result
+include/pqxx/result.hxx
+include/pqxx/robusttransaction
+include/pqxx/robusttransaction.hxx
+include/pqxx/strconv
+include/pqxx/strconv.hxx
+include/pqxx/subtransaction
+include/pqxx/subtransaction.hxx
+include/pqxx/tablereader
+include/pqxx/tablereader.hxx
+include/pqxx/tablestream
+include/pqxx/tablestream.hxx
+include/pqxx/tablewriter
+include/pqxx/tablewriter.hxx
+include/pqxx/transaction
+include/pqxx/transaction.hxx
+include/pqxx/transaction_base
+include/pqxx/transaction_base.hxx
+include/pqxx/transactor
+include/pqxx/transactor.hxx
+include/pqxx/trigger
+include/pqxx/trigger.hxx
+include/pqxx/tuple
+include/pqxx/tuple.hxx
+include/pqxx/util
+include/pqxx/util.hxx
+include/pqxx/version
+include/pqxx/version.hxx
+lib/libpqxx-%%PORTVERSION%%.so
+lib/libpqxx.a
+lib/libpqxx.la
+lib/libpqxx.so
+lib/libpqxx.so.%%SOVERSION%%
+libdata/pkgconfig/libpqxx.pc
+@dirrm include/pqxx/internal/gates
+@dirrm include/pqxx/internal
+@dirrm include/pqxx