aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-09 22:30:32 +0800
committerknu <knu@FreeBSD.org>2001-06-09 22:30:32 +0800
commit32bc1230756063a23ed445083c16763d11bf74b9 (patch)
treea95b3f7759d58ff57b480f5182d0a56693193f67 /databases
parent2950959561391a595e8f20f73a6531aa1a6f01e9 (diff)
downloadfreebsd-ports-gnome-32bc1230756063a23ed445083c16763d11bf74b9.tar.gz
freebsd-ports-gnome-32bc1230756063a23ed445083c16763d11bf74b9.tar.zst
freebsd-ports-gnome-32bc1230756063a23ed445083c16763d11bf74b9.zip
Add ruby-dbd_odbc, the ODBC driver for DBI-for-Ruby.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ruby-dbd_odbc/Makefile29
-rw-r--r--databases/ruby-dbd_odbc/pkg-comment1
-rw-r--r--databases/ruby-dbd_odbc/pkg-descr4
-rw-r--r--databases/ruby-dbd_odbc/pkg-plist2
5 files changed, 37 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 1b7484d99170..71ef1d20277b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -72,6 +72,7 @@
SUBDIR += ruby-bdb
SUBDIR += ruby-cdb
SUBDIR += ruby-dbd_mysql
+ SUBDIR += ruby-dbd_odbc
SUBDIR += ruby-dbd_pg
SUBDIR += ruby-dbd_sybase
SUBDIR += ruby-dbi
diff --git a/databases/ruby-dbd_odbc/Makefile b/databases/ruby-dbd_odbc/Makefile
new file mode 100644
index 000000000000..8974d769f06c
--- /dev/null
+++ b/databases/ruby-dbd_odbc/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: dbd_odbc for DBD-for-Ruby
+# Date created: 9 June 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dbd_odbc
+PORTVERSION= ${RUBY_DBI_PORTVERSION}
+CATEGORIES= databases ruby
+MASTER_SITES= ${RUBY_DBI_MASTER_SITES}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${RUBY_DBI_DISTNAME}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} \
+ ${RUBY_SITEARCHLIBDIR}/odbc.so:${.CURDIR}/../ruby-odbc
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+
+WRKSRC= ${RUBY_DBI_WRKSRC}
+CONFIGURE_ARGS= --with=lib/${PORTNAME}
+
+.include "${.CURDIR}/../ruby-dbi/Makefile.common"
+
+.include <bsd.port.mk>
diff --git a/databases/ruby-dbd_odbc/pkg-comment b/databases/ruby-dbd_odbc/pkg-comment
new file mode 100644
index 000000000000..71975399746e
--- /dev/null
+++ b/databases/ruby-dbd_odbc/pkg-comment
@@ -0,0 +1 @@
+ODBC driver for DBI-for-Ruby
diff --git a/databases/ruby-dbd_odbc/pkg-descr b/databases/ruby-dbd_odbc/pkg-descr
new file mode 100644
index 000000000000..a60587a4f1be
--- /dev/null
+++ b/databases/ruby-dbd_odbc/pkg-descr
@@ -0,0 +1,4 @@
+This is the ODBC driver for DBI-for-Ruby.
+
+Author: Michael Neumann <neumann@s-direktnet.de>
+WWW: http://www.ruby-projects.org/dbi/
diff --git a/databases/ruby-dbd_odbc/pkg-plist b/databases/ruby-dbd_odbc/pkg-plist
new file mode 100644
index 000000000000..e531c4ab8b70
--- /dev/null
+++ b/databases/ruby-dbd_odbc/pkg-plist
@@ -0,0 +1,2 @@
+%%RUBY_SITELIBDIR%%/DBD/ODBC/ODBC.rb
+@dirrm %%RUBY_SITELIBDIR%%/DBD/ODBC