1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add ruby-dbi, DBI-for-Ruby - a common interface for SQL-based

databases.
This commit is contained in:
Akinori MUSHA 2001-06-02 16:55:23 +00:00
parent 43d340e831
commit 534b825be7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43436
6 changed files with 54 additions and 0 deletions

View File

@ -71,6 +71,7 @@
SUBDIR += rdb
SUBDIR += ruby-bdb
SUBDIR += ruby-cdb
SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm
SUBDIR += ruby-rdbc1
SUBDIR += ruby-mysql

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449

View File

@ -0,0 +1 @@
DBI-for-Ruby - a common interface for SQL-based databases

View File

@ -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/

View File

@ -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