Date: Mon, 27 Mar 2006 17:32:11 +0200 (CEST) From: Ralf van der Enden <tremere@cainites.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/95005: New port: databases/opendbx Message-ID: <20060327153211.22ACBD5@mail.cainites.net> Resent-Message-ID: <200603271540.k2RFeFe6086702@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 95005 >Category: ports >Synopsis: New port: databases/opendbx >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Mar 27 15:40:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Ralf van der Enden >Release: FreeBSD 6.0-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD lan.cainites.net 6.0-RELEASE-p6 FreeBSD 6.0-RELEASE-p6 #0: Thu Mar 23 10:47:54 CET 2006 root@lan.cainites.net:/usr/obj/usr/src/sys/HELLKERNEL i386 >Description: OpenDBX is an extremely lightweight but extensible C library for accessing databases with a single API. It provides a clean and simple interface across all supported databases that leads to an elegant code design automatically. Currently MySQL, PostgreSQL and SQLite are supported and backends for more native database APIs can be written easily. If you want your application to support different databases with little effort, this is definitively the right thing for you! >How-To-Repeat: >Fix: --- opendbx.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: # # opendbx # opendbx/Makefile # opendbx/distinfo # opendbx/pkg-descr # opendbx/pkg-plist # echo c - opendbx mkdir -p opendbx > /dev/null 2>&1 echo x - opendbx/Makefile sed 's/^X//' >opendbx/Makefile << 'END-of-opendbx/Makefile' X# New ports collection makefile for: opendbx X# Date Created: 17 March 2006 X# Whom: tremere@cainites.net X# X# $FreeBSD$ X# X XPORTNAME= opendbx XPORTVERSION= 0.9.8 XCATEGORIES= databases XMASTER_SITES= http://www.linuxnetworks.de/opendbx/download/ XDISTNAME= ${PORTNAME}-${PORTVERSION} X XMAINTAINER= tremere@cainites.net XCOMMENT= A C library for accessing databases with a single API X XUSE_GMAKE= YES XUSE_AUTOTOOLS= libtool:15 XCPPFLAGS+= -I${LOCALBASE}/include XLDFLAGS+= -L${LOCALBASE}/lib XINSTALLS_SHLIB= YES XLDCONFIG_DIRS= %%LOCALBASE%%/lib/opendbx XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ARGS+= --with-backends="${CONFIGURE_MODULES}" --disable-nls XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" X XOPTIONS= MYSQL "Support for the MySQL database" off \ X PGSQL "Support for the PostgreSQL database" on \ X SQLITE "Support for the SQLite 2 database" off \ X SQLITE3 "Support for the SQLite 3 database" off X X.include <bsd.port.pre.mk> X X.if (defined(CONFIG_DONE) || exists(${_OPTIONSFILE})) && (!defined(WITH_MYSQL)) && (!defined(WITH_PGSQL)) && (!defined(WITH_SQLITE)) && (!defined(WITH_SQLITE3)) XIGNORE= You need to select at least one database X.endif X X.if defined(WITH_MYSQL) XUSE_MYSQL?= YES XCONFIGURE_MODULES+= "mysql" XCPPFLAGS+= -I${LOCALBASE}/include/mysql XLDFLAGS+= -L${LOCALBASE}/lib/mysql XPLIST_SUB+= WITHMYSQL="" X.else XPLIST_SUB+= WITHMYSQL="@comment " X.endif X X.if defined(WITH_PGSQL) XUSE_PGSQL?= YES XCONFIGURE_MODULES+= "pgsql" XPLIST_SUB+= WITHPGSQL="" X.else XPLIST_SUB+= WITHPGSQL="@comment " X.endif X X.if defined(WITH_SQLITE) XUSE_SQLITE?= 2 XCONFIGURE_MODULES+= "sqlite" XPLIST_SUB+= WITHSQLITE="" X.else XPLIST_SUB+= WITHSQLITE="@comment " X.endif X X.if defined(WITH_SQLITE3) XUSE_SQLITE?= 3 XCONFIGURE_MODULES+= "sqlite3" XPLIST_SUB+= WITHSQLITE3="" X.else XPLIST_SUB+= WITHSQLITE3="@comment " X.endif X X.include <bsd.port.post.mk> X END-of-opendbx/Makefile echo x - opendbx/distinfo sed 's/^X//' >opendbx/distinfo << 'END-of-opendbx/distinfo' XMD5 (opendbx-0.9.8.tar.gz) = 8df71b03d8eba1c0f9f1f1f14dc08767 XSHA256 (opendbx-0.9.8.tar.gz) = 00ef96a8227d67b2a9b43cd3d4b74c688d1ee5329c4f70e436eba7beed47a6df XSIZE (opendbx-0.9.8.tar.gz) = 392496 END-of-opendbx/distinfo echo x - opendbx/pkg-descr sed 's/^X//' >opendbx/pkg-descr << 'END-of-opendbx/pkg-descr' XOpenDBX is an extremely lightweight but extensible C library for Xaccessing databases with a single API. It provides a clean and simple Xinterface across all supported databases that leads to an elegant Xcode design automatically. Currently MySQL, PostgreSQL and SQLite are Xsupported and backends for more native database APIs can be written Xeasily. If you want your application to support different databases Xwith little effort, this is definitively the right thing for you! X XLicense: LGPL X XWWW: http://www.linuxnetworks.de/opendbx/ END-of-opendbx/pkg-descr echo x - opendbx/pkg-plist sed 's/^X//' >opendbx/pkg-plist << 'END-of-opendbx/pkg-plist' Xinclude/odbx.h Xlib/libopendbx.a Xlib/libopendbx.la Xlib/libopendbx.so Xlib/libopendbx.so.1 X%%WITHPGSQL%%lib/opendbx/libpgsqlbackend.a X%%WITHPGSQL%%lib/opendbx/libpgsqlbackend.la X%%WITHPGSQL%%lib/opendbx/libpgsqlbackend.so X%%WITHPGSQL%%lib/opendbx/libpgsqlbackend.so.1 X%%WITHMYSQL%%lib/opendbx/libmysqlbackend.a X%%WITHMYSQL%%lib/opendbx/libmysqlbackend.la X%%WITHMYSQL%%lib/opendbx/libmysqlbackend.so X%%WITHMYSQL%%lib/opendbx/libmysqlbackend.so.1 X%%WITHSQLITE%%lib/opendbx/libsqlitebackend.a X%%WITHSQLITE%%lib/opendbx/libsqlitebackend.la X%%WITHSQLITE%%lib/opendbx/libsqlitebackend.so X%%WITHSQLITE%%lib/opendbx/libsqlitebackend.so.1 X%%WITHSQLITE3%%lib/opendbx/libsqlite3backend.a X%%WITHSQLITE3%%lib/opendbx/libsqlite3backend.la X%%WITHSQLITE3%%lib/opendbx/libsqlite3backend.so X%%WITHSQLITE3%%lib/opendbx/libsqlite3backend.so.1 Xshare/locale/de/LC_MESSAGES/opendbx.mo Xshare/locale/en@quot/LC_MESSAGES/opendbx.mo X@dirrm share/nls/en_US.US-ASCII X@dirrm share/nls/POSIX X@dirrm share/locale/en@quot/LC_MESSAGES X@dirrm share/locale/en@quot X@dirrm lib/opendbx END-of-opendbx/pkg-plist exit --- opendbx.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?20060327153211.22ACBD5>