Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix up next wave of ports
  • Loading branch information
Kris Moore committed Oct 14, 2013
1 parent b49e151 commit 58663b0
Show file tree
Hide file tree
Showing 30 changed files with 370 additions and 3,484 deletions.
30 changes: 30 additions & 0 deletions build-files/ports-overlay/databases/postgresql-libpqxx3/Makefile
@@ -0,0 +1,30 @@
# Created by: Palle Girgensohn <girgen@pingpong.net>
# $FreeBSD: databases/postgresql-libpqxx3/Makefile 327717 2013-09-20 16:13:47Z bapt $

PORTNAME= libpqxx
PORTVERSION= 3.1
CATEGORIES= databases
MASTER_SITES= http://pqxx.org/download/software/${PORTNAME}/
PKGNAMEPREFIX= postgresql-
DIST_SUBDIR= postgresql

MAINTAINER= 20080111.freebsd.org@ab.ote.we.lv
COMMENT= New C++ interface for PostgreSQL

CONFLICTS= postgresql-libpqxx-[2-4].*
LATEST_LINK= ${PKGNAMEPREFIX}${PORTNAME}3
PORTSCOUT= limit:^2\.

USE_PGSQL= yes
USES= gmake pkgconfig
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GCC= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}

CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql

NO_STAGE= yes
.include <bsd.port.mk>
@@ -0,0 +1,2 @@
SHA256 (postgresql/libpqxx-3.1.tar.gz) = 8950433f193e118cfd36ab91391eb174ef48897bacc26197da596988e66796a0
SIZE (postgresql/libpqxx-3.1.tar.gz) = 1771846
@@ -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
@@ -0,0 +1,22 @@
Index: /trunk/include/pqxx/util.hxx
===================================================================
--- ./include/pqxx/util.hxx (revision 1638)
+++ ./include/pqxx/util.hxx (revision 1665)
@@ -33,4 +33,6 @@
#include <memory>
#endif
+
+#include "pqxx/strconv"


Index: /trunk/include/pqxx/cursor.hxx
===================================================================
--- ./include/pqxx/cursor.hxx (revision 1559)
+++ ./include/pqxx/cursor.hxx (revision 1665)
@@ -308,5 +308,5 @@
transaction_base &trans,
const PGSTD::string adopted_cursor) :
- m_cur(trans, adopted_cursor, up, op)
+ m_cur(trans, adopted_cursor, op)
{
// Put cursor in known position
18 changes: 18 additions & 0 deletions build-files/ports-overlay/databases/postgresql-libpqxx3/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/
91 changes: 91 additions & 0 deletions build-files/ports-overlay/databases/postgresql-libpqxx3/pkg-plist
@@ -0,0 +1,91 @@
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/except
include/pqxx/except.hxx
include/pqxx/internal/callgate.hxx
include/pqxx/internal/gates/connection-dbtransaction.hxx
include/pqxx/internal/gates/connection-largeobject.hxx
include/pqxx/internal/gates/connection-notify-listener.hxx
include/pqxx/internal/gates/connection-parameterized_invocation.hxx
include/pqxx/internal/gates/connection-pipeline.hxx
include/pqxx/internal/gates/connection-prepare-declaration.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/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/statement_parameters.hxx
include/pqxx/isolation
include/pqxx/isolation.hxx
include/pqxx/largeobject
include/pqxx/largeobject.hxx
include/pqxx/libpq-forward.hxx
include/pqxx/nontransaction
include/pqxx/nontransaction.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/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
libdata/pkgconfig/libpqxx.pc
@dirrm include/pqxx/internal/gates
@dirrm include/pqxx/internal
@dirrm include/pqxx

0 comments on commit 58663b0

Please sign in to comment.