aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-dbd_sqlite
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-11-15 13:18:52 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-11-15 13:18:52 +0000
commitc24a1a839bfeff576c8e4e79985c88db2eb7a33f (patch)
tree298de1fd1cb4f1a11cbbfc7da9063a88c1f3006a /databases/ruby-dbd_sqlite
parentf35e83e26828c028836a7638c57a34c00cb0d8c2 (diff)
downloadports-c24a1a839bfeff576c8e4e79985c88db2eb7a33f.tar.gz
ports-c24a1a839bfeff576c8e4e79985c88db2eb7a33f.zip
Notes
Diffstat (limited to 'databases/ruby-dbd_sqlite')
-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
4 files changed, 40 insertions, 0 deletions
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