1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Update Ruby/DBI and DBD modules to 0.0.12.

This commit is contained in:
Akinori MUSHA 2002-01-03 07:31:59 +00:00
parent a702e9fdfc
commit 887fe0468f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52522
8 changed files with 22 additions and 9 deletions

View File

@ -22,7 +22,7 @@ USE_RUBY= yes
USE_RUBY_SETUP= yes
WRKSRC= ${RUBY_DBI_WRKSRC}
CONFIGURE_ARGS= --with=lib/${PORTNAME}
CONFIGURE_ARGS= --with=bin/proxyserver,lib/${PORTNAME}
.include "${.CURDIR}/../ruby-dbi/Makefile.common"

View File

@ -1,2 +1,3 @@
bin/proxyserver.rb
%%RUBY_SITELIBDIR%%/DBD/Proxy/Proxy.rb
@dirrm %%RUBY_SITELIBDIR%%/DBD/Proxy

View File

@ -24,10 +24,20 @@ 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
DOCS_EN= ext/${PORTNAME}/README
.include "${.CURDIR}/../ruby-dbi/Makefile.common"
post-patch:
${RUBY} -i- -pe 'gsub "/usr/local", "${LOCALBASE}"' \
${WRKSRC}/ext/${PORTNAME}/extconf.rb
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

@ -1,2 +1,4 @@
%%RUBY_SITEARCHLIBDIR%%/DBD/SQLite/SQLite.so
@dirrm %%RUBY_SITEARCHLIBDIR%%/DBD/SQLite
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/dbd_sqlite/README
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/dbi/dbd_sqlite

View File

@ -19,7 +19,7 @@ USE_RUBY= yes
USE_RUBY_SETUP= yes
WRKSRC= ${RUBY_DBI_WRKSRC}
CONFIGURE_ARGS= --with=lib/${PORTNAME},lib/wrapper
CONFIGURE_ARGS= --with=bin/commandline,lib/${PORTNAME},lib/wrapper
DOCS_EN= README.1st doc/* lib/${PORTNAME}/doc/*

View File

@ -2,7 +2,7 @@
RUBY_DBI_PORTNAME= dbi
# Don't forget to clear PORTREVISION's on update
RUBY_DBI_VERSION= 0.0.11
RUBY_DBI_VERSION= 0.0.12
RUBY_DBI_PORTVERSION= ${RUBY_DBI_VERSION}
RUBY_DBI_MASTER_SITES= http://www.ruby-projects.org/downloads/dbi/
RUBY_DBI_DISTNAME= ruby-${RUBY_DBI_PORTNAME}-all-${PORTVERSION}

View File

@ -1 +1 @@
MD5 (ruby/ruby-dbi-all-0.0.11.tar.gz) = f011742fce4c0d2c67b7452cb52e96ae
MD5 (ruby/ruby-dbi-all-0.0.12.tar.gz) = 15240ab7b43bbda771959bd92fa5067d

View File

@ -1,3 +1,4 @@
bin/sqlsh.rb
%%RUBY_SITELIBDIR%%/dbi.rb
%%RUBY_SITELIBDIR%%/dbi/columninfo.rb
%%RUBY_SITELIBDIR%%/dbi/dbi.rb
@ -10,12 +11,11 @@
@dirrm %%RUBY_SITEARCHLIBDIR%%/dbi
@dirrm %%RUBY_SITEARCHLIBDIR%%/DBD
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/persistence.rb
%%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/xmlgen.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/dbi/xmltest.rb
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/dbi
%%PORTDOCS%%%%RUBY_DOCDIR%%/dbi/ChangeLog