aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-03 15:31:59 +0800
committerknu <knu@FreeBSD.org>2002-01-03 15:31:59 +0800
commit6833bdcc153b1c0acdcac630a0a595b3432c996c (patch)
tree41994638e2f5425b086be07b2f8edeba2a903a2d /databases
parent95542d94761d1a486ae5580970a22602c6a4dc7d (diff)
downloadfreebsd-ports-graphics-6833bdcc153b1c0acdcac630a0a595b3432c996c.tar.gz
freebsd-ports-graphics-6833bdcc153b1c0acdcac630a0a595b3432c996c.tar.zst
freebsd-ports-graphics-6833bdcc153b1c0acdcac630a0a595b3432c996c.zip
Update Ruby/DBI and DBD modules to 0.0.12.
Diffstat (limited to 'databases')
-rw-r--r--databases/ruby-dbd_proxy/Makefile2
-rw-r--r--databases/ruby-dbd_proxy/pkg-plist1
-rw-r--r--databases/ruby-dbd_sqlite/Makefile16
-rw-r--r--databases/ruby-dbd_sqlite/pkg-plist2
-rw-r--r--databases/ruby-dbi/Makefile2
-rw-r--r--databases/ruby-dbi/Makefile.common2
-rw-r--r--databases/ruby-dbi/distinfo2
-rw-r--r--databases/ruby-dbi/pkg-plist4
8 files changed, 22 insertions, 9 deletions
diff --git a/databases/ruby-dbd_proxy/Makefile b/databases/ruby-dbd_proxy/Makefile
index 4fc26e97b9a..08137f3a5e5 100644
--- a/databases/ruby-dbd_proxy/Makefile
+++ b/databases/ruby-dbd_proxy/Makefile
@@ -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"
diff --git a/databases/ruby-dbd_proxy/pkg-plist b/databases/ruby-dbd_proxy/pkg-plist
index efb15f978e7..d1a0f040e2b 100644
--- a/databases/ruby-dbd_proxy/pkg-plist
+++ b/databases/ruby-dbd_proxy/pkg-plist
@@ -1,2 +1,3 @@
+bin/proxyserver.rb
%%RUBY_SITELIBDIR%%/DBD/Proxy/Proxy.rb
@dirrm %%RUBY_SITELIBDIR%%/DBD/Proxy
diff --git a/databases/ruby-dbd_sqlite/Makefile b/databases/ruby-dbd_sqlite/Makefile
index adb09d1bfec..d840fd3be06 100644
--- a/databases/ruby-dbd_sqlite/Makefile
+++ b/databases/ruby-dbd_sqlite/Makefile
@@ -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>
diff --git a/databases/ruby-dbd_sqlite/pkg-plist b/databases/ruby-dbd_sqlite/pkg-plist
index e32e88f6922..87eaf3b25da 100644
--- a/databases/ruby-dbd_sqlite/pkg-plist
+++ b/databases/ruby-dbd_sqlite/pkg-plist
@@ -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
diff --git a/databases/ruby-dbi/Makefile b/databases/ruby-dbi/Makefile
index c599bfaa547..138f95e206f 100644
--- a/databases/ruby-dbi/Makefile
+++ b/databases/ruby-dbi/Makefile
@@ -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/*
diff --git a/databases/ruby-dbi/Makefile.common b/databases/ruby-dbi/Makefile.common
index 988e5029629..d7cfa9baea4 100644
--- a/databases/ruby-dbi/Makefile.common
+++ b/databases/ruby-dbi/Makefile.common
@@ -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}
diff --git a/databases/ruby-dbi/distinfo b/databases/ruby-dbi/distinfo
index a62c2314724..1e4858247e8 100644
--- a/databases/ruby-dbi/distinfo
+++ b/databases/ruby-dbi/distinfo
@@ -1 +1 @@
-MD5 (ruby/ruby-dbi-all-0.0.11.tar.gz) = f011742fce4c0d2c67b7452cb52e96ae
+MD5 (ruby/ruby-dbi-all-0.0.12.tar.gz) = 15240ab7b43bbda771959bd92fa5067d
diff --git a/databases/ruby-dbi/pkg-plist b/databases/ruby-dbi/pkg-plist
index daf8cc5f8c3..8ad59aa0afc 100644
--- a/databases/ruby-dbi/pkg-plist
+++ b/databases/ruby-dbi/pkg-plist
@@ -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