aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-11-15 21:18:52 +0800
committerknu <knu@FreeBSD.org>2001-11-15 21:18:52 +0800
commit292dd28ea871b01d8fb95505cdc3a013ab9a9f90 (patch)
treea385fac9d1b2cfcf40ade23f16ef3b75831795d1 /databases
parentaf62d3a54fd33e1321d40a249fa7da6360df339e (diff)
downloadfreebsd-ports-gnome-292dd28ea871b01d8fb95505cdc3a013ab9a9f90.tar.gz
freebsd-ports-gnome-292dd28ea871b01d8fb95505cdc3a013ab9a9f90.tar.zst
freebsd-ports-gnome-292dd28ea871b01d8fb95505cdc3a013ab9a9f90.zip
Add ruby-dbd_sqlite, the SQLite driver for DBI-for-Ruby.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ruby-dbd_sqlite/Makefile33
-rw-r--r--databases/ruby-dbd_sqlite/pkg-comment1
-rw-r--r--databases/ruby-dbd_sqlite/pkg-descr4
-rw-r--r--databases/ruby-dbd_sqlite/pkg-plist2
5 files changed, 41 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 94305ab48979..1cc37f4667e5 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -98,6 +98,7 @@
SUBDIR += ruby-dbd_odbc
SUBDIR += ruby-dbd_pg
SUBDIR += ruby-dbd_proxy
+ SUBDIR += ruby-dbd_sqlite
SUBDIR += ruby-dbd_sybase
SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm
diff --git a/databases/ruby-dbd_sqlite/Makefile b/databases/ruby-dbd_sqlite/Makefile
new file mode 100644
index 000000000000..adb09d1bfecd
--- /dev/null
+++ b/databases/ruby-dbd_sqlite/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: dbd_sqlite for DBD-for-Ruby
+# Date created: 15 November 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dbd_sqlite
+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
+
+LIB_DEPENDS= sqlite.1:${.CURDIR}/../sqlite
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR}
+
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+
+WRKSRC= ${RUBY_DBI_WRKSRC}
+CONFIGURE_ARGS= --with=ext/${PORTNAME}
+
+post-patch:
+ ${RUBY} -i- -pe 'gsub "/usr/local", "${LOCALBASE}"' \
+ ${WRKSRC}/ext/dbd_sqlite/extconf.rb
+
+.include "${.CURDIR}/../ruby-dbi/Makefile.common"
+
+.include <bsd.port.mk>
diff --git a/databases/ruby-dbd_sqlite/pkg-comment b/databases/ruby-dbd_sqlite/pkg-comment
new file mode 100644
index 000000000000..139532e1be9d
--- /dev/null
+++ b/databases/ruby-dbd_sqlite/pkg-comment
@@ -0,0 +1 @@
+SQLite driver for DBI-for-Ruby
diff --git a/databases/ruby-dbd_sqlite/pkg-descr b/databases/ruby-dbd_sqlite/pkg-descr
new file mode 100644
index 000000000000..3a0b4e469992
--- /dev/null
+++ b/databases/ruby-dbd_sqlite/pkg-descr
@@ -0,0 +1,4 @@
+This is the SQLite driver for DBI-for-Ruby.
+
+Author: Rainer Perl <rainer.perl@sprytech.com>
+WWW: http://www.ruby-projects.org/dbi/
diff --git a/databases/ruby-dbd_sqlite/pkg-plist b/databases/ruby-dbd_sqlite/pkg-plist
new file mode 100644
index 000000000000..e32e88f69229
--- /dev/null
+++ b/databases/ruby-dbd_sqlite/pkg-plist
@@ -0,0 +1,2 @@
+%%RUBY_SITEARCHLIBDIR%%/DBD/SQLite/SQLite.so
+@dirrm %%RUBY_SITEARCHLIBDIR%%/DBD/SQLite