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:
parent
a702e9fdfc
commit
887fe0468f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52522
@ -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"
|
||||
|
||||
|
@ -1,2 +1,3 @@
|
||||
bin/proxyserver.rb
|
||||
%%RUBY_SITELIBDIR%%/DBD/Proxy/Proxy.rb
|
||||
@dirrm %%RUBY_SITELIBDIR%%/DBD/Proxy
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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/*
|
||||
|
||||
|
@ -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}
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/ruby-dbi-all-0.0.11.tar.gz) = f011742fce4c0d2c67b7452cb52e96ae
|
||||
MD5 (ruby/ruby-dbi-all-0.0.12.tar.gz) = 15240ab7b43bbda771959bd92fa5067d
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user