aboutsummaryrefslogtreecommitdiffstats
path: root/databases/dbconnect
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-23 15:51:29 +0800
committerijliao <ijliao@FreeBSD.org>2001-07-23 15:51:29 +0800
commitef783ccad640baa5f46bb8d50cd36e8b2d1f8864 (patch)
tree67b47c7aeb21e6ab3bc89ae59c0d2001aa74f492 /databases/dbconnect
parentb7f26ad08c7beb58d9d6a05c94bb0098dd33d036 (diff)
downloadfreebsd-ports-gnome-ef783ccad640baa5f46bb8d50cd36e8b2d1f8864.tar.gz
freebsd-ports-gnome-ef783ccad640baa5f46bb8d50cd36e8b2d1f8864.tar.zst
freebsd-ports-gnome-ef783ccad640baa5f46bb8d50cd36e8b2d1f8864.zip
add dbconnect
Use C++ object API to allow applications to connect to databases
Diffstat (limited to 'databases/dbconnect')
-rw-r--r--databases/dbconnect/Makefile28
-rw-r--r--databases/dbconnect/distinfo1
-rw-r--r--databases/dbconnect/pkg-comment1
-rw-r--r--databases/dbconnect/pkg-descr8
-rw-r--r--databases/dbconnect/pkg-plist8
5 files changed, 46 insertions, 0 deletions
diff --git a/databases/dbconnect/Makefile b/databases/dbconnect/Makefile
new file mode 100644
index 000000000000..b6bf1f4e43eb
--- /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 <bsd.port.mk>
diff --git a/databases/dbconnect/distinfo b/databases/dbconnect/distinfo
new file mode 100644
index 000000000000..80c89a1c7577
--- /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 000000000000..83a2b33e3990
--- /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 000000000000..7f97fa3f0c95
--- /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 000000000000..f40cac137301
--- /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