diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-08-08 10:28:41 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-08-08 10:28:41 +0000 |
commit | 51e321a2049608a28ffa571ac519b15e98d14a29 (patch) | |
tree | 31976fd9ed39feb4ce4c4dbd58c0e68ae7480e9a | |
parent | f6fcc19461643283d44ecfb3bc64b1f797eecb05 (diff) | |
download | ports-51e321a2049608a28ffa571ac519b15e98d14a29.tar.gz ports-51e321a2049608a28ffa571ac519b15e98d14a29.zip |
Notes
-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/ |