This is a MySQL JDBC driver gem for JRuby. Use

require 'jdbc/mysql'

to make the driver accessible to JDBC and ActiveRecord code running in JRuby.

WWW: http://rubyforge.org/projects/jruby-extras/

PR:		ports/126325
Submitted by:	Alexander Logvinov <ports at logvinov,com>
This commit is contained in:
Martin Wilke 2008-08-07 21:34:53 +00:00
parent d3bddc5648
commit b21713f46d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218212
4 changed files with 39 additions and 0 deletions

View file

@ -555,6 +555,7 @@
SUBDIR += ruby-sqlite
SUBDIR += rubygem-activerecord
SUBDIR += rubygem-activerecord-jdbc-adapter
SUBDIR += rubygem-jdbc-mysql
SUBDIR += rubygem-memcache-client
SUBDIR += rubygem-postgres
SUBDIR += rubygem-rrdtool

View file

@ -0,0 +1,28 @@
# Ports collection makefile for: rubygem-jdbc-mysql
# Date created: 22 July 2008
# Whom: Alexander Logvinov <ports@logvinov,com>
#
# $FreeBSD$
PORTNAME= jdbc-mysql
PORTVERSION= 5.0.4
CATEGORIES= databases rubygems java
MASTER_SITES= RF
MASTER_SITE_SUBDIR= jruby-extras
MAINTAINER= ports@logvinov.com
COMMENT= MySQL JDBC driver for JRuby
RUN_DEPENDS= jruby:${PORTSDIR}/lang/jruby
USE_RUBY= yes
USE_RUBYGEMS= yes
post-install:
@${ECHO} ${GEM_CACHE} > ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
@${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},@dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
@${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},@dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (rubygem/jdbc-mysql-5.0.4.gem) = 5359e303081917d59d5c408c442d041e
SHA256 (rubygem/jdbc-mysql-5.0.4.gem) = 585c209768c0e929148cde39ecfd2e6029725a151cca188fbe576c3ec8cad589
SIZE (rubygem/jdbc-mysql-5.0.4.gem) = 482304

View file

@ -0,0 +1,7 @@
This is a MySQL JDBC driver gem for JRuby. Use
require 'jdbc/mysql'
to make the driver accessible to JDBC and ActiveRecord code running in JRuby.
WWW: http://rubyforge.org/projects/jruby-extras/