mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
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
|
@ -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
|
||||
|
|
28
databases/rubygem-jdbc-mysql/Makefile
Normal file
28
databases/rubygem-jdbc-mysql/Makefile
Normal 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>
|
3
databases/rubygem-jdbc-mysql/distinfo
Normal file
3
databases/rubygem-jdbc-mysql/distinfo
Normal 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
|
7
databases/rubygem-jdbc-mysql/pkg-descr
Normal file
7
databases/rubygem-jdbc-mysql/pkg-descr
Normal 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/
|
Loading…
Add table
Reference in a new issue