Update Ruby/DBI to 0.0.5.

ruby-dbd_postgresql has been renamed to ruby-dbd_pg. (without a
repocopy since ruby-dbd_postgresql has no history)
This commit is contained in:
Akinori MUSHA 2001-06-09 14:23:33 +00:00
parent 9c0a071864
commit 58261648b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43704
22 changed files with 138 additions and 129 deletions

View File

@ -72,7 +72,7 @@
SUBDIR += ruby-bdb
SUBDIR += ruby-cdb
SUBDIR += ruby-dbd_mysql
SUBDIR += ruby-dbd_postgresql
SUBDIR += ruby-dbd_pg
SUBDIR += ruby-dbd_sybase
SUBDIR += ruby-dbi
SUBDIR += ruby-gdbm

View File

@ -6,38 +6,33 @@
#
PORTNAME= dbd_mysql
PORTVERSION= 0.0.4
PORTVERSION= ${RUBY_DBI_PORTVERSION}
CATEGORIES= databases ruby
MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/
MASTER_SITES= ${RUBY_DBI_MASTER_SITES}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-dbi-${PORTVERSION}
EXTRACT_SUFX= .tgz
DISTNAME= ${RUBY_DBI_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi \
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} \
${RUBY_SITEARCHLIBDIR}/mysql.so:${.CURDIR}/../ruby-mysql
USE_RUBY= yes
USE_RUBY_SETUP= yes
NO_BUILD= yes
WRKSRC= ${RUBY_DBI_WRKSRC}
CONFIGURE_ARGS= --with=lib/${PORTNAME}
WRKSRC= ${WRKDIR}/lib/${PORTNAME}
DOCS_EN= lib/${PORTNAME}/doc/*
EXAMPLES_EN= ../../examples/test1.rb
DOCS_EN= doc/*
.include "${.CURDIR}/../ruby-dbi/Makefile.common"
do-install:
${INSTALL_DATA} ${WRKSRC}/*.rb ${RUBY_SITELIBDIR}/dbi/
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME}
.for f in ${EXAMPLES_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME}/
.endfor
${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME}
${MKDIR} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}/
.endfor
.endif

View File

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

View File

@ -1,4 +1,4 @@
This is the MySQL driver for Rainer Perl's DBI-for-Ruby.
This is the MySQL driver for DBI-for-Ruby.
Author: Rainer Perl <rainer.perl@sprytech.com>
WWW: http://www.sprytech.com/~rainer.perl/ruby/
WWW: http://www.ruby-projects.org/dbi/

View File

@ -1,6 +1,5 @@
%%RUBY_SITELIBDIR%%/dbi/dbd_mysql.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_mysql/test1.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi/dbd_mysql
%%RUBY_SITELIBDIR%%/DBD/Mysql/Mysql.rb
@dirrm %%RUBY_SITELIBDIR%%/DBD/Mysql
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_mysql/HISTORY
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_mysql/README
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_mysql

View File

@ -0,0 +1,39 @@
# New ports collection makefile for: dbd_pg for DBD-for-Ruby
# Date created: 9 June 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= dbd_pg
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
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR} \
${RUBY_SITEARCHLIBDIR}/postgres.so:${.CURDIR}/../ruby-postgres
USE_RUBY= yes
USE_RUBY_SETUP= yes
WRKSRC= ${RUBY_DBI_WRKSRC}
CONFIGURE_ARGS= --with=lib/${PORTNAME}
DOCS_EN= lib/${PORTNAME}/doc/*
.include "${.CURDIR}/../ruby-dbi/Makefile.common"
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
This is the PostgreSQL driver for DBI-for-Ruby.
Author: Jim Weirich <jweirich@one.ent>
WWW: http://www.ruby-projects.org/dbi/

View File

@ -0,0 +1,4 @@
%%RUBY_SITELIBDIR%%/DBD/Pg/Pg.rb
@dirrm %%RUBY_SITELIBDIR%%/DBD/Pg
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_pg/README
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_pg

View File

@ -1,42 +0,0 @@
# New ports collection makefile for: dbd_postgresql for DBD-for-Ruby
# Date created: 3 June 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= dbd_postgresql
PORTVERSION= 0.0.4
CATEGORIES= databases ruby
MASTER_SITES= ftp://ftp.one.net/pub/users/jweirich/tools/ruby-dbi/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-dbi-postgresql-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi \
${RUBY_SITEARCHLIBDIR}/postgres.so:${.CURDIR}/../ruby-postgres
USE_RUBY= yes
NO_BUILD= yes
EXAMPLES_EN= *.rb
DOCS_EN= README
do-install:
${INSTALL_DATA} ${WRKSRC}/dbi/*.rb ${RUBY_SITELIBDIR}/dbi/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME}
.for f in ${EXAMPLES_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/dbi/${PORTNAME}/
.endfor
${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1 +0,0 @@
MD5 (ruby/ruby-dbi-postgresql-0.0.4.tgz) = 14ae1d7428e2f4a03108cbad67305587

View File

@ -1,3 +0,0 @@
This is the PostgreSQL driver for Rainer Perl's DBI-for-Ruby.
Author: Jim Weirich <jweirich@one.ent>

View File

@ -1,9 +0,0 @@
%%RUBY_SITELIBDIR%%/dbi/dbd_postgresql.rb
%%RUBY_SITELIBDIR%%/dbi/sqlquote.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/runtests.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/testdbi.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/testdbipostgres.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql/testsqlquote.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi/dbd_postgresql
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_postgresql/README
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_postgresql

View File

@ -6,33 +6,33 @@
#
PORTNAME= dbd_sybase
PORTVERSION= 0.0.4
PORTVERSION= ${RUBY_DBI_PORTVERSION}
CATEGORIES= databases ruby
MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/
MASTER_SITES= ${RUBY_DBI_MASTER_SITES}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-dbi-${PORTVERSION}
EXTRACT_SUFX= .tgz
DISTNAME= ${RUBY_DBI_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
LIB_DEPENDS= tds.0:${.CURDIR}/../freetds
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${.CURDIR}/../ruby-dbi
RUN_DEPENDS= ${RUBY_SITELIBDIR}/dbi.rb:${RUBY_DBI_PORTDIR}
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
USE_RUBY_SETUP= yes
WRKSRC= ${WRKDIR}/ext/${PORTNAME}
INSTALL_TARGET= site-install
WRKSRC= ${RUBY_DBI_WRKSRC}
CONFIGURE_ARGS= --with=ext/${PORTNAME}
DOCS_EN= doc/*
DOCS_EN= ext/${PORTNAME}/doc/*
.include "${.CURDIR}/../ruby-dbi/Makefile.common"
post-install:
cd ${RUBY_SITEARCHLIBDIR} && ${MV} ${PORTNAME}.so dbi/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/dbi/${PORTNAME}
${MKDIR} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/dbi/${PORTNAME}/
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${RUBY_DBI_PORTNAME}/${PORTNAME}/
.endfor
.endif

View File

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

View File

@ -1,16 +0,0 @@
--- extconf.rb.orig Mon Apr 23 21:31:46 2001
+++ extconf.rb Sun Jun 3 03:44:04 2001
@@ -1,11 +1,7 @@
require 'mkmf'
-# You may need to change these parameters
-FREETDSDIR = "/usr/local/freetds"
-# end of parameters
+dir_config("freetds", "/usr/local/freetds")
-$CFLAGS = "-I#{FREETDSDIR}/include"
-$LDFLAGS = "-L#{FREETDSDIR}/lib"
$libs = "-ltds"
-create_makefile("dbd_sybase")
+create_makefile("dbd_sybase")

View File

@ -1,4 +1,4 @@
This is the Sybase driver for Rainer Perl's DBI-for-Ruby.
This is the Sybase driver for DBI-for-Ruby.
Author: Rainer Perl <rainer.perl@sprytech.com>
WWW: http://www.sprytech.com/~rainer.perl/ruby/
WWW: http://www.ruby-projects.org/dbi/

View File

@ -5,37 +5,41 @@
# $FreeBSD$
#
PORTNAME= dbi
PORTVERSION= 0.0.4
PORTREVISION= 1
PORTNAME= ${RUBY_DBI_PORTNAME}
PORTVERSION= ${RUBY_DBI_PORTVERSION}
CATEGORIES= databases ruby
MASTER_SITES= http://www.sprytech.com/~rainer.perl/ruby/files/
MASTER_SITES= ${RUBY_DBI_MASTER_SITES}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
DISTNAME= ${RUBY_DBI_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_SETUP= yes
NO_WRKSUBDIR= yes
WRKSRC= ${RUBY_DBI_WRKSRC}
CONFIGURE_ARGS= --with=lib/${PORTNAME},lib/wrapper
NO_BUILD= yes
DOCS_EN= README.1st doc/* lib/${PORTNAME}/doc/*
DOCS_EN= README.1st lib/${PORTNAME}/doc/*
.include "${.CURDIR}/Makefile.common"
post-extract:
${MV} ${WRKSRC}/README ${WRKSRC}/README.1st
${RM} ${WRKSRC}/doc/create_html
${RM} ${WRKSRC}/lib/${PORTNAME}/doc/create_html
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}/*.rb ${RUBY_SITELIBDIR}/
post-install:
${MKDIR} ${RUBY_SITEARCHLIBDIR}/${PORTNAME}
${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME}
${MKDIR} ${RUBY_SITELIBDIR}/DBD
${MKDIR} ${RUBY_SITEARCHLIBDIR}/DBD
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif

View File

@ -0,0 +1,14 @@
# $FreeBSD$
RUBY_DBI_PORTNAME= dbi
RUBY_DBI_VERSION= 0.0.5
RUBY_DBI_PORTVERSION= ${RUBY_DBI_VERSION}
RUBY_DBI_PORTREVISION= # none
RUBY_DBI_MASTER_SITES= http://www.ruby-projects.org/downloads/dbi/
RUBY_DBI_DISTNAME= ruby-${RUBY_DBI_PORTNAME}-all-${PORTVERSION}
RUBY_DBI_PORTDIR= ${PORTSDIR}/databases/ruby-${RUBY_DBI_PORTNAME}
RUBY_DBI_WRKSRC?= ${WRKDIR}/ruby-${RUBY_DBI_PORTNAME}-all
MD5_FILE?= ${RUBY_DBI_PORTDIR}/distinfo

View File

@ -1 +1 @@
MD5 (ruby/ruby-dbi-0.0.4.tgz) = 65dc83374cce86f8494fd47537902449
MD5 (ruby/ruby-dbi-all-0.0.5.tar.gz) = 385ee3f747fb4cb02ffa16adf94b3e77

View File

@ -1,5 +1,6 @@
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/
Authors: Rainer Perl <rainer.perl@sprytech.com>,
Michael Neumann <neumann@s-direktnet.de>
WWW: http://www.ruby-projects.org/dbi/

View File

@ -1,7 +1,28 @@
%%RUBY_SITELIBDIR%%/dbi.rb
@dirrm %%RUBY_SITEARCHLIBDIR%%/dbi
%%RUBY_SITELIBDIR%%/dbi/dbi.rb
%%RUBY_SITELIBDIR%%/dbi/row.rb
%%RUBY_SITELIBDIR%%/dbi/sql.rb
%%RUBY_SITELIBDIR%%/dbi/trace.rb
%%RUBY_SITELIBDIR%%/dbi/utils.rb
@dirrm %%RUBY_SITELIBDIR%%/dbi
@dirrm %%RUBY_SITELIBDIR%%/DBD
@dirrm %%RUBY_SITEARCHLIBDIR%%/DBD
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/proxyserver.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/sqlsh.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/sqlsh.rb.new
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/test1.pl
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/test1.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/test_blob.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/xmltest.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/DBD_SPEC
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/DBI_SPEC
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/HISTORY
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/README
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/README.1st
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/index.rd
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/html/DBD_SPEC.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/html/DBI_SPEC.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/html/index.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/html/rubyStyle.css
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/html
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi