From ef783ccad640baa5f46bb8d50cd36e8b2d1f8864 Mon Sep 17 00:00:00 2001 From: ijliao Date: Mon, 23 Jul 2001 07:51:29 +0000 Subject: add dbconnect Use C++ object API to allow applications to connect to databases --- databases/dbconnect/Makefile | 28 ++++++++++++++++++++++++++++ databases/dbconnect/distinfo | 1 + databases/dbconnect/pkg-comment | 1 + databases/dbconnect/pkg-descr | 8 ++++++++ databases/dbconnect/pkg-plist | 8 ++++++++ 5 files changed, 46 insertions(+) create mode 100644 databases/dbconnect/Makefile create mode 100644 databases/dbconnect/distinfo create mode 100644 databases/dbconnect/pkg-comment create mode 100644 databases/dbconnect/pkg-descr create mode 100644 databases/dbconnect/pkg-plist (limited to 'databases/dbconnect') diff --git a/databases/dbconnect/Makefile b/databases/dbconnect/Makefile new file mode 100644 index 0000000..b6bf1f4 --- /dev/null +++ b/databases/dbconnect/Makefile @@ -0,0 +1,28 @@ +# ex:ts=8 +# New ports collection makefile for: dbconnect +# Date created: Jul 23, 2001 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= dbconnect +PORTVERSION= 0.2.0 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org + +WRKSRC= ${WRKDIR}/${PORTNAME} +GNU_CONFIGURE= yes + +.if defined(WITH_MYSQL) +LIB_DEPENDS= mysqlclient:${PORTSDIR}/databases/mysql323-client +CONFIGURE_ARGS+= --with-mysql=yes --with-mysqldir=${LOCALBASE} +PLIST_SUB+= MYSQL="" +.else +PLIST_SUB+= MYSQL="@comment " +.endif + +.include diff --git a/databases/dbconnect/distinfo b/databases/dbconnect/distinfo new file mode 100644 index 0000000..80c89a1 --- /dev/null +++ b/databases/dbconnect/distinfo @@ -0,0 +1 @@ +MD5 (dbconnect-0.2.0.tar.gz) = c782a100ae10aeb7de16970986db66c8 diff --git a/databases/dbconnect/pkg-comment b/databases/dbconnect/pkg-comment new file mode 100644 index 0000000..83a2b33 --- /dev/null +++ b/databases/dbconnect/pkg-comment @@ -0,0 +1 @@ +Use C++ object API to allow applications to connect to databases diff --git a/databases/dbconnect/pkg-descr b/databases/dbconnect/pkg-descr new file mode 100644 index 0000000..7f97fa3 --- /dev/null +++ b/databases/dbconnect/pkg-descr @@ -0,0 +1,8 @@ +DBConnect (Database Connect) API is an easy to use C++ object API to allow +applications to connect to databases. Your DB applications can now become +cross platform and cross databased. + +The API currently implements MySQL, Oracle8 and PostGreSQL drivers in the +Unix environments and MySQL, Oracle8 and ODBC in the Windows environment. + +WWW: http://dbconnect.sourceforge.net/ diff --git a/databases/dbconnect/pkg-plist b/databases/dbconnect/pkg-plist new file mode 100644 index 0000000..f40cac1 --- /dev/null +++ b/databases/dbconnect/pkg-plist @@ -0,0 +1,8 @@ +include/dbconn.h +include/dbconnect_basedriver.h +lib/libdbconn.a +lib/libdyndbconn.so +%%MYSQL%%include/dbconnect_MYSQL.h +%%MYSQL%%include/mysql.h +%%MYSQL%%include/mysql_com.h +%%MYSQL%%include/mysql_version.h -- cgit v1.1