diff options
author | miwi <miwi@FreeBSD.org> | 2008-08-08 18:28:41 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-08-08 18:28:41 +0800 |
commit | e73f2f7bedfca0ff009e8b02cf1cdb7d19146ec6 (patch) | |
tree | 2f114a20b0680f7771bc40e083ed6c0735fcc13e | |
parent | e334615b74b32027d668fabf42992b36b04ac6d9 (diff) | |
download | freebsd-ports-gnome-e73f2f7bedfca0ff009e8b02cf1cdb7d19146ec6.tar.gz freebsd-ports-gnome-e73f2f7bedfca0ff009e8b02cf1cdb7d19146ec6.tar.zst freebsd-ports-gnome-e73f2f7bedfca0ff009e8b02cf1cdb7d19146ec6.zip |
This is an ActiveRecord driver for MySQL using JDBC running under JRuby.
WWW: http://rubyforge.org/projects/jruby-extras/
PR: ports/126355
Submitted by: Alexander Logvinov <ports at logvinov,com>
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/rubygem-activerecord-jdbcmysql-adapter/Makefile | 33 | ||||
-rw-r--r-- | databases/rubygem-activerecord-jdbcmysql-adapter/distinfo | 3 | ||||
-rw-r--r-- | databases/rubygem-activerecord-jdbcmysql-adapter/pkg-descr | 3 |
4 files changed, 40 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 1aff1b9f12b3..3f4182421da8 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -556,6 +556,7 @@ SUBDIR += ruby-sqlite SUBDIR += rubygem-activerecord SUBDIR += rubygem-activerecord-jdbc-adapter + SUBDIR += rubygem-activerecord-jdbcmysql-adapter SUBDIR += rubygem-jdbc-mysql SUBDIR += rubygem-memcache-client SUBDIR += rubygem-postgres diff --git a/databases/rubygem-activerecord-jdbcmysql-adapter/Makefile b/databases/rubygem-activerecord-jdbcmysql-adapter/Makefile new file mode 100644 index 000000000000..2a218d73041e --- /dev/null +++ b/databases/rubygem-activerecord-jdbcmysql-adapter/Makefile @@ -0,0 +1,33 @@ +# Ports collection makefile for: rubygem-activerecord-jdbcmysql-adapter +# Date created: 22 July 2008 +# Whom: Alexander Logvinov <ports@logvinov,com> +# +# $FreeBSD$ + +PORTNAME= activerecord-jdbcmysql-adapter +PORTVERSION= 0.8.2 +CATEGORIES= databases rubygems java +MASTER_SITES= RF +MASTER_SITE_SUBDIR= jruby-extras + +MAINTAINER= ports@logvinov.com +COMMENT= An ActiveRecord driver for MySQL using JDBC running under JRuby + +BUILD_DEPENDS= rubygem-jdbc-mysql>=5.0.4:${PORTSDIR}/databases/rubygem-jdbc-mysql \ + rubygem-activerecord-jdbc-adapter>=0.8.2:${PORTSDIR}/databases/rubygem-activerecord-jdbc-adapter +RUN_DEPENDS= rubygem-jdbc-mysql>=5.0.4:${PORTSDIR}/databases/rubygem-jdbc-mysql \ + rubygem-activerecord-jdbc-adapter>=0.8.2:${PORTSDIR}/databases/rubygem-activerecord-jdbc-adapter \ + 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> diff --git a/databases/rubygem-activerecord-jdbcmysql-adapter/distinfo b/databases/rubygem-activerecord-jdbcmysql-adapter/distinfo new file mode 100644 index 000000000000..63b1543a618b --- /dev/null +++ b/databases/rubygem-activerecord-jdbcmysql-adapter/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/activerecord-jdbcmysql-adapter-0.8.2.gem) = 669e5559e9dce73917d73b6c050812bd +SHA256 (rubygem/activerecord-jdbcmysql-adapter-0.8.2.gem) = 587df90d4e55f69f2d61cdd8eeff4dee11cabeab66bd744d2b5e9fde3d65452f +SIZE (rubygem/activerecord-jdbcmysql-adapter-0.8.2.gem) = 5120 diff --git a/databases/rubygem-activerecord-jdbcmysql-adapter/pkg-descr b/databases/rubygem-activerecord-jdbcmysql-adapter/pkg-descr new file mode 100644 index 000000000000..293a86909474 --- /dev/null +++ b/databases/rubygem-activerecord-jdbcmysql-adapter/pkg-descr @@ -0,0 +1,3 @@ +This is an ActiveRecord driver for MySQL using JDBC running under JRuby. + +WWW: http://rubyforge.org/projects/jruby-extras/ |