aboutsummaryrefslogtreecommitdiff
path: root/databases/ruby-dbi
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-02 16:55:23 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-02 16:55:23 +0000
commit534b825be77d207e93fd84fa902f19acc0b63915 (patch)
tree76d68f8f671b7a5c0c79014e9e156b8112674277 /databases/ruby-dbi
parent43d340e831bc7496a8d875c809a14bce316b45d6 (diff)
downloadports-534b825be77d207e93fd84fa902f19acc0b63915.tar.gz
ports-534b825be77d207e93fd84fa902f19acc0b63915.zip
Add ruby-dbi, DBI-for-Ruby - a common interface for SQL-based
databases.
Notes
Notes: svn path=/head/; revision=43436
Diffstat (limited to 'databases/ruby-dbi')
-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
5 files changed, 53 insertions, 0 deletions
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