aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-03 00:55:23 +0800
committerknu <knu@FreeBSD.org>2001-06-03 00:55:23 +0800
commit0f4c2246773d1b6ef8f694ca9917f1b6fba31f18 (patch)
treee580177c45c33d2aff677e3aaa3ef1d281873be2 /databases
parentf05b2e2a81a6797e9855bad705f0fdb9757b8dc1 (diff)
downloadfreebsd-ports-gnome-0f4c2246773d1b6ef8f694ca9917f1b6fba31f18.tar.gz
freebsd-ports-gnome-0f4c2246773d1b6ef8f694ca9917f1b6fba31f18.tar.zst
freebsd-ports-gnome-0f4c2246773d1b6ef8f694ca9917f1b6fba31f18.zip
Add ruby-dbi, DBI-for-Ruby - a common interface for SQL-based
databases.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/ruby-dbi/Makefile40
-rw-r--r--databases/ruby-dbi/distinfo1
-rw-r--r--databases/ruby-dbi/pkg-comment1
-rw-r--r--databases/ruby-dbi/pkg-descr5
-rw-r--r--databases/ruby-dbi/pkg-plist6
6 files changed, 54 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 2c7b778d5421..d6fa36cb9723 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -71,6 +71,7 @@
SUBDIR += rdb
SUBDIR += ruby-bdb
SUBDIR += ruby-cdb
+ SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm
SUBDIR += ruby-rdbc1
SUBDIR += ruby-mysql
diff --git a/databases/ruby-dbi/Makefile b/databases/ruby-dbi/Makefile
new file mode 100644
index 000000000000..d6b5351a6deb
--- /dev/null
+++ b/databases/ruby-dbi/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: DBI-for-Ruby
+# Date created: 3 June 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dbi
+PORTVERSION= 0.0.4
+CATEGORIES= databases ruby
+MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+
+NO_WRKSUBDIR= yes
+
+NO_BUILD= yes
+
+DOCS_EN= README.1st lib/${PORTNAME}/doc/*
+
+post-extract:
+ ${MV} ${WRKSRC}/README ${WRKSRC}/README.1st
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}/*.rb ${RUBY_SITELIBDIR}/
+ ${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/databases/ruby-dbi/distinfo b/databases/ruby-dbi/distinfo
new file mode 100644
index 000000000000..577d95dcd0c3
--- /dev/null
+++ b/databases/ruby-dbi/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449
diff --git a/databases/ruby-dbi/pkg-comment b/databases/ruby-dbi/pkg-comment
new file mode 100644
index 000000000000..5930baf6bccc
--- /dev/null
+++ b/databases/ruby-dbi/pkg-comment
@@ -0,0 +1 @@
+DBI-for-Ruby - a common interface for SQL-based databases
diff --git a/databases/ruby-dbi/pkg-descr b/databases/ruby-dbi/pkg-descr
new file mode 100644
index 000000000000..6abf17dd7e95
--- /dev/null
+++ b/databases/ruby-dbi/pkg-descr
@@ -0,0 +1,5 @@
+This is a DBI-for-Ruby. It is designed to behave like the DBI you
+know from Perl.
+
+Author: Rainer Perl <rainer.perl@sprytech.com>
+WWW: http://www.sprytech.com/~rainer.perl/ruby/
diff --git a/databases/ruby-dbi/pkg-plist b/databases/ruby-dbi/pkg-plist
new file mode 100644
index 000000000000..a4d75bc15a8c
--- /dev/null
+++ b/databases/ruby-dbi/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITELIBDIR%%/dbi.rb
+@dirrm %%RUBY_SITELIBDIR%%/dbi
+%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/HISTORY
+%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/README
+%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/README.1st
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi