summaryrefslogtreecommitdiff
path: root/databases/ruby-mysql
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 15:45:57 +0000
committertaca <taca@pkgsrc.org>2004-11-27 15:45:57 +0000
commitcb598fca54c4421b70d4d08b0b068e763f4c4413 (patch)
treed84a2737a2bc816c7132112a26dab0430985c78f /databases/ruby-mysql
parent63eac4818b96e94242d0cb634475a50005b4208a (diff)
downloadpkgsrc-cb598fca54c4421b70d4d08b0b068e763f4c4413.tar.gz
Update ruby-mysql package to 2.5.1 migrating to use new framework
for Ruby packages. 2004-09-20 version 2.5.1 * add Mysql#set_ssl(). 2004-08-31 version 2.5 * correspond to MySQL 4.1.x. * change MysqlRes, MysqlField, MysqlError to Mysql::Result, Mysql::Field, Mysql::Error. * add Mysql.client_version(), Mysql.get_client_version(), Mysql#client_version(), Mysql#get_client_version(), Mysql#server_version(), Mysql#get_server_version(), Mysql#warning_count(), Mysql#commit(), Mysql#rollback(), Mysql#autocommit(). * add Mysql::Field#is_not_null?(), Mysql::Field#is_pri_key?(), Mysql::Field#is_num?(). * add MysqlField::TYPE_VAR_STRING.
Diffstat (limited to 'databases/ruby-mysql')
-rw-r--r--databases/ruby-mysql/Makefile30
-rw-r--r--databases/ruby-mysql/PLIST16
-rw-r--r--databases/ruby-mysql/distinfo6
3 files changed, 15 insertions, 37 deletions
diff --git a/databases/ruby-mysql/Makefile b/databases/ruby-mysql/Makefile
index f54c4eccdb1..9556b6461f0 100644
--- a/databases/ruby-mysql/Makefile
+++ b/databases/ruby-mysql/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2004/10/29 05:59:24 jdolecek Exp $
+# $NetBSD: Makefile,v 1.10 2004/11/27 15:45:57 taca Exp $
#
-DISTNAME= mysql-ruby-2.4.5
-PKGNAME= ${RUBY_PKGNAMEPREFIX}mysql-2.4.5
-PKGREVISION= 1
+DISTNAME= mysql-ruby-2.5.1
+PKGNAME= ${RUBY_PKGPREFIX}-mysql-2.5.1
CATEGORIES= databases ruby
MASTER_SITES= http://www.tmtm.org/mysql/ruby/
@@ -13,32 +12,21 @@ COMMENT= Ruby extension for MySQL
USE_BUILDLINK3= yes
-DIST_SUBDIR= ruby
-USE_RUBY_EXTCONF= yes
+USE_RUBY_EXTCONF= yes
+INSTALL_TARGET= site-install
CONFIGURE_ARGS+= --with-mysql-include-dir=${BUILDLINK_PREFIX.mysql-client}/include \
--with-mysql-lib-dir=${BUILDLINK_PREFIX.mysql-client}/lib/mysql
-INSTALL_TARGET= site-install
-DOCS= README README.ja
-TEST_SCRIPTS= test.rb
-TEST_SCRIPTS2= 00connect.rb 10create_db.rb 20create_table.rb 30insert.rb \
- 40select.rb 50update.rb 60drop_table.rb 70drop_db.rb \
- 80close.rb
+DOCS= README.html README_ja.html
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/mysql
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${RUBY_DOCDIR}/mysql
.endfor
- ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mysql/t
-.for f in ${TEST_SCRIPTS}
- ${INSTALL_SCRIPT} ${WRKSRC}/$f ${RUBY_EXAMPLESDIR}/mysql
-.endfor
-.for f in ${TEST_SCRIPTS2}
- ${INSTALL_SCRIPT} ${WRKSRC}/t/$f ${RUBY_EXAMPLESDIR}/mysql/t
-.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/mysql
+ ${INSTALL_SCRIPT} ${WRKSRC}/test.rb ${RUBY_EXAMPLESDIR}/mysql
-.include "../../lang/ruby-base/Makefile.common"
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-mysql/PLIST b/databases/ruby-mysql/PLIST
index b68f4be2953..ae3133a2627 100644
--- a/databases/ruby-mysql/PLIST
+++ b/databases/ruby-mysql/PLIST
@@ -1,17 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/01/27 15:19:06 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 15:45:57 taca Exp $
${RUBY_SITEARCHLIBDIR}/mysql.so
-${RUBY_DOCDIR}/mysql/README
-${RUBY_DOCDIR}/mysql/README.ja
+${RUBY_DOCDIR}/mysql/README.html
+${RUBY_DOCDIR}/mysql/README_ja.html
@dirrm ${RUBY_DOCDIR}/mysql
-${RUBY_EXAMPLESDIR}/mysql/t/00connect.rb
-${RUBY_EXAMPLESDIR}/mysql/t/10create_db.rb
-${RUBY_EXAMPLESDIR}/mysql/t/20create_table.rb
-${RUBY_EXAMPLESDIR}/mysql/t/30insert.rb
-${RUBY_EXAMPLESDIR}/mysql/t/40select.rb
-${RUBY_EXAMPLESDIR}/mysql/t/50update.rb
-${RUBY_EXAMPLESDIR}/mysql/t/60drop_table.rb
-${RUBY_EXAMPLESDIR}/mysql/t/70drop_db.rb
-${RUBY_EXAMPLESDIR}/mysql/t/80close.rb
-@dirrm ${RUBY_EXAMPLESDIR}/mysql/t
${RUBY_EXAMPLESDIR}/mysql/test.rb
@dirrm ${RUBY_EXAMPLESDIR}/mysql
diff --git a/databases/ruby-mysql/distinfo b/databases/ruby-mysql/distinfo
index ba57be096b1..59c38585e30 100644
--- a/databases/ruby-mysql/distinfo
+++ b/databases/ruby-mysql/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/09/11 15:34:03 taca Exp $
+$NetBSD: distinfo,v 1.3 2004/11/27 15:45:57 taca Exp $
-SHA1 (ruby/mysql-ruby-2.4.5.tar.gz) = 30a4c4cd33531998cccfb26e336b15efdd7d87eb
-Size (ruby/mysql-ruby-2.4.5.tar.gz) = 16420 bytes
+SHA1 (ruby/mysql-ruby-2.5.1.tar.gz) = c65908c1c9d8c71f6592bfe12795b5006672b072
+Size (ruby/mysql-ruby-2.5.1.tar.gz) = 18843 bytes
SHA1 (patch-aa) = 7134c3b1da98d89687ff4ef76d7c80cfe7ed9e4a