summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/iodbc/Makefile25
-rw-r--r--databases/iodbc/files/md53
-rw-r--r--databases/iodbc/files/patch-sum3
-rw-r--r--databases/iodbc/patches/patch-aa21
-rw-r--r--databases/iodbc/pkg/COMMENT1
-rw-r--r--databases/iodbc/pkg/DESCR11
-rw-r--r--databases/iodbc/pkg/PLIST14
7 files changed, 78 insertions, 0 deletions
diff --git a/databases/iodbc/Makefile b/databases/iodbc/Makefile
new file mode 100644
index 00000000000..f689f4c36cf
--- /dev/null
+++ b/databases/iodbc/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/15 06:25:04 jlam Exp $
+#
+
+DISTNAME= libiodbc-2.50.3
+PKGNAME= iodbc-2.50.3
+CATEGORIES= databases
+MASTER_SITES= http://www.iodbc.org/dist/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://www.iodbc.org/
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+CONFIGURE_ARGS+= --with-iodbc-inidir=/etc
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/iodbc
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/iodbc
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/iodbc
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/iodbc
+ ${INSTALL_DATA} ${WRKSRC}/odbc.ini.sample \
+ ${PREFIX}/share/examples/iodbc/odbc.ini
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/iodbc/files/md5 b/databases/iodbc/files/md5
new file mode 100644
index 00000000000..013e2558434
--- /dev/null
+++ b/databases/iodbc/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/15 06:25:04 jlam Exp $
+
+MD5 (libiodbc-2.50.3.tar.gz) = 5d23b748d4c57d61a004395cea5ff0f0
diff --git a/databases/iodbc/files/patch-sum b/databases/iodbc/files/patch-sum
new file mode 100644
index 00000000000..9f730ff0dd7
--- /dev/null
+++ b/databases/iodbc/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/07/15 06:25:04 jlam Exp $
+
+MD5 (patch-aa) = da7f8486079910900f0bd07cfe2981c9
diff --git a/databases/iodbc/patches/patch-aa b/databases/iodbc/patches/patch-aa
new file mode 100644
index 00000000000..73c95199bd4
--- /dev/null
+++ b/databases/iodbc/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/07/15 06:25:05 jlam Exp $
+
+--- configure.orig Thu Jun 24 23:27:37 1999
++++ configure Mon Jun 28 02:18:38 1999
+@@ -2188,6 +2188,8 @@
+ rm -f confcache
+
+
++# Use NetBSD's pkglibtool
++if false; then
+ # Actually configure libtool. ac_aux_dir is where install-sh is found.
+ CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
+ LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
+@@ -2215,6 +2217,7 @@
+ # Redirect the config.log output again, so that the ltconfig log is not
+ # clobbered by the next message.
+ exec 5>>./config.log
++fi
+
+
+
diff --git a/databases/iodbc/pkg/COMMENT b/databases/iodbc/pkg/COMMENT
new file mode 100644
index 00000000000..173ac3995ca
--- /dev/null
+++ b/databases/iodbc/pkg/COMMENT
@@ -0,0 +1 @@
+ODBC 2.x driver manager
diff --git a/databases/iodbc/pkg/DESCR b/databases/iodbc/pkg/DESCR
new file mode 100644
index 00000000000..d87f8817ad6
--- /dev/null
+++ b/databases/iodbc/pkg/DESCR
@@ -0,0 +1,11 @@
+iODBC (intrinsic Open Database Connectivity) driver manager
+is compatible with ODBC 2.x specification and performs exactly
+same jobs of ODBC 2.x driver manager(i.e. driver loading,
+Parameters and function sequence checking, driver's function
+Invoking, etc.). Any ODBC driver works with ODBC 2.0 driver
+Manager will also work with iODBC driver manager and vice versa.
+
+Applications (using ODBC function calls) linked with
+iODBC driver manager will be able to simultaneously access
+different type of data sources within one process through
+suitable iODBC drivers.
diff --git a/databases/iodbc/pkg/PLIST b/databases/iodbc/pkg/PLIST
new file mode 100644
index 00000000000..0ec756769b1
--- /dev/null
+++ b/databases/iodbc/pkg/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/15 06:25:05 jlam Exp $
+include/isql.h
+include/isqlext.h
+include/isqltypes.h
+include/sql.h
+include/sqlext.h
+include/sqltypes.h
+lib/libiodbc.a
+lib/libiodbc.so.2.50
+share/doc/iodbc/COPYING
+share/doc/iodbc/README
+share/examples/iodbc/odbc.ini
+@dirrm share/examples/iodbc
+@dirrm share/doc/iodbc