Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Sep 2010 04:46:14 -0700 (PDT)
From:      Julien Laffaye <kimelto@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/150527: [NEW PORT] devel/soci: The C++ Database Access Library
Message-ID:  <4c8e0f06.df07e30a.7fd4.ffffeb04@mx.google.com>
Resent-Message-ID: <201009131150.o8DBo2K1047145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150527
>Category:       ports
>Synopsis:       [NEW PORT] devel/soci: The C++ Database Access Library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 13 11:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Julien Laffaye
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD silver.lan 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010
>Description:
SOCI is a database access library for C++ that makes the illusion of embedding
SQL queries in the regular C++ code, staying entirely within the Standard C++.
The idea is to provide C++ programmers a way to access SQL databases in the most
natural and intuitive way. If you find existing libraries too difficult for your
needs or just distracting, SOCI can be a good alternative.

WWW:	http://soci.sourceforge.net/

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- soci-3.0.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	soci
#	soci/pkg-descr
#	soci/Makefile
#	soci/pkg-plist
#	soci/distinfo
#	soci/files
#	soci/files/pkg-message.in
#
echo c - soci
mkdir -p soci > /dev/null 2>&1
echo x - soci/pkg-descr
sed 's/^X//' >soci/pkg-descr << '3fc1414ac8a3d47b25b4d8bd64359526'
XSOCI is a database access library for C++ that makes the illusion of embedding
XSQL queries in the regular C++ code, staying entirely within the Standard C++.
XThe idea is to provide C++ programmers a way to access SQL databases in the most
Xnatural and intuitive way. If you find existing libraries too difficult for your
Xneeds or just distracting, SOCI can be a good alternative.
X
XWWW:	http://soci.sourceforge.net/
3fc1414ac8a3d47b25b4d8bd64359526
echo x - soci/Makefile
sed 's/^X//' >soci/Makefile << 'b489a9cb31464e0e2f0d6409a070fb33'
X# New ports collection makefile for:	soci
X# Date created:		2010-09-13
X# Whom:			Julien Laffaye <kimelto@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	soci
XPORTVERSION=	3.0.0
XCATEGORIES=	devel databases
XMASTER_SITES=	SF
XMASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	kimelto@gmail.com
XCOMMENT=	The C++ Database Access Library
X
XLICENSE=	MIT
XLICENSE_FILE=	${WRKSRC}/LICENSE_1_0.txt
X
XMAKE_JOBS_SAFE=	yes
XUSE_LDCONFIG=	yes
XUSE_TCL_BUILD=	85
XHAS_CONFIGURE=	yes
XCONFIGURE_ARGS=	--include-prefix=${PREFIX}/include/soci \
X		--lib-prefix=${PREFIX}/lib
XALL_TARGET=	build_libs
XSUB_FILES=	pkg-message
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
XOPTIONS=	MYSQL "Build MySQL driver" on \
X		PGSQL "Build PostgreSQL driver" on
X
X.include <bsd.port.pre.mk>
X
X.ifdef (WITH_MYSQL)
XUSE_MYSQL=	yes
XPLIST_SUB+=	MYSQL=""
XCONFIGURE_ARGS+=--mysql-include=${LOCALBASE}/include/mysql \
X		--mysql-lib=${LOCALBASE}/lib/mysql
X.else
XPLIST_SUB+=	MYSQL="@comment "
X.endif
X
X.ifdef (WITH_PGSQL)
XUSE_PGSQL=	yes
XPLIST_SUB+=	PGSQL=""
XCONFIGURE_ARGS+=--postgresql-include=${LOCALBASE}/include \
X		--postgresql-lib=${LOCALBASE}/lib
X.else
XPLIST_SUB+=	PGSQL="@comment "
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" ${WRKSRC}/configure
X	@${REINPLACE_CMD} -e "s/ldconfig/true/" ${WRKSRC}/build/unix/install.tcl
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
b489a9cb31464e0e2f0d6409a070fb33
echo x - soci/pkg-plist
sed 's/^X//' >soci/pkg-plist << '2aecbc44ae5dc18f80991324c886ad8e'
Xinclude/soci/backend-loader.h
Xinclude/soci/blob-exchange.h
Xinclude/soci/blob.h
Xinclude/soci/boost-fusion.h
Xinclude/soci/boost-gregorian-date.h
Xinclude/soci/boost-optional.h
Xinclude/soci/boost-tuple.h
Xinclude/soci/connection-pool.h
Xinclude/soci/error.h
Xinclude/soci/exchange-traits.h
Xinclude/soci/into-type.h
Xinclude/soci/into.h
Xinclude/soci/once-temp-type.h
Xinclude/soci/prepare-temp-type.h
Xinclude/soci/procedure.h
Xinclude/soci/ref-counted-prepare-info.h
Xinclude/soci/ref-counted-statement.h
Xinclude/soci/row-exchange.h
Xinclude/soci/row.h
Xinclude/soci/rowid-exchange.h
Xinclude/soci/rowid.h
Xinclude/soci/rowset.h
Xinclude/soci/session.h
Xinclude/soci/soci-backend.h
Xinclude/soci/soci-config.h
X%%MYSQL%%include/soci/soci-mysql.h
Xinclude/soci/soci-platform.h
X%%PGSQL%%include/soci/soci-postgresql.h
Xinclude/soci/soci-simple.h
Xinclude/soci/soci.h
Xinclude/soci/statement.h
Xinclude/soci/transaction.h
Xinclude/soci/type-conversion-traits.h
Xinclude/soci/type-conversion.h
Xinclude/soci/type-holder.h
Xinclude/soci/type-ptr.h
Xinclude/soci/use-type.h
Xinclude/soci/use.h
Xinclude/soci/values-exchange.h
Xinclude/soci/values.h
Xlib/libsoci_core-3.0.0.so
Xlib/libsoci_core-3.so
Xlib/libsoci_core.a
Xlib/libsoci_core.so
X%%MYSQL%%lib/libsoci_mysql-3.0.0.so
X%%MYSQL%%lib/libsoci_mysql-3.so
X%%MYSQL%%lib/libsoci_mysql.a
X%%MYSQL%%lib/libsoci_mysql.so
X%%PGSQL%%lib/libsoci_postgresql-3.0.0.so
X%%PGSQL%%lib/libsoci_postgresql-3.so
X%%PGSQL%%lib/libsoci_postgresql.a
X%%PGSQL%%lib/libsoci_postgresql.so
X@dirrm include/soci
2aecbc44ae5dc18f80991324c886ad8e
echo x - soci/distinfo
sed 's/^X//' >soci/distinfo << '9fc3d371c69618798509293a1f00a475'
XMD5 (soci-3.0.0.tar.gz) = 1bf7dd244764e53557c1ecc01fdfac96
XSHA256 (soci-3.0.0.tar.gz) = 896a79cbf1859971f4887eec8fa9519b17749c930d6901a6aa1701e556d26ece
XSIZE (soci-3.0.0.tar.gz) = 195545
9fc3d371c69618798509293a1f00a475
echo c - soci/files
mkdir -p soci/files > /dev/null 2>&1
echo x - soci/files/pkg-message.in
sed 's/^X//' >soci/files/pkg-message.in << '87ed269beb2f5f91937530a4ee69f03a'
XIf you use dynamically loaded backends, you have to set the environment variable
XSOCI_BACKENDS_PATH to %%PREFIX%%/lib
87ed269beb2f5f91937530a4ee69f03a
exit
--- soci-3.0.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c8e0f06.df07e30a.7fd4.ffffeb04>