aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-activerecord-jdbc-adapter/Makefile29
-rw-r--r--databases/rubygem-activerecord-jdbc-adapter/distinfo3
-rw-r--r--databases/rubygem-activerecord-jdbc-adapter/pkg-descr6
4 files changed, 39 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 43b681489297..83939392c820 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -554,6 +554,7 @@
SUBDIR += ruby-search-namazu
SUBDIR += ruby-sqlite
SUBDIR += rubygem-activerecord
+ SUBDIR += rubygem-activerecord-jdbc-adapter
SUBDIR += rubygem-memcache-client
SUBDIR += rubygem-postgres
SUBDIR += rubygem-rrdtool
diff --git a/databases/rubygem-activerecord-jdbc-adapter/Makefile b/databases/rubygem-activerecord-jdbc-adapter/Makefile
new file mode 100644
index 000000000000..0648eb616499
--- /dev/null
+++ b/databases/rubygem-activerecord-jdbc-adapter/Makefile
@@ -0,0 +1,29 @@
+# Ports collection makefile for: rubygem-activerecord-jdbc-adapter
+# Date created: 22 July 2008
+# Whom: Alexander Logvinov <ports@logvinov,com>
+#
+# $FreeBSD$
+
+PORTNAME= activerecord-jdbc-adapter
+PORTVERSION= 0.8.2
+CATEGORIES= databases rubygems java
+MASTER_SITES= RF
+MASTER_SITE_SUBDIR= jruby-extras
+
+MAINTAINER= ports@logvinov.com
+COMMENT= JDBC adapter for ActiveRecord, for use within JRuby on Rails
+
+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>
diff --git a/databases/rubygem-activerecord-jdbc-adapter/distinfo b/databases/rubygem-activerecord-jdbc-adapter/distinfo
new file mode 100644
index 000000000000..c8f207d89e46
--- /dev/null
+++ b/databases/rubygem-activerecord-jdbc-adapter/distinfo
@@ -0,0 +1,3 @@
+MD5 (rubygem/activerecord-jdbc-adapter-0.8.2.gem) = 85b0126618d69594307aa03f1048e69a
+SHA256 (rubygem/activerecord-jdbc-adapter-0.8.2.gem) = adc7a54fcef588ac914ea2ff0ab7d96c31e8d19c86c71477cded7b21a74308d8
+SIZE (rubygem/activerecord-jdbc-adapter-0.8.2.gem) = 91648
diff --git a/databases/rubygem-activerecord-jdbc-adapter/pkg-descr b/databases/rubygem-activerecord-jdbc-adapter/pkg-descr
new file mode 100644
index 000000000000..4200b0caff63
--- /dev/null
+++ b/databases/rubygem-activerecord-jdbc-adapter/pkg-descr
@@ -0,0 +1,6 @@
+ActiveRecord-JDBC is a database adapter for Rails' ActiveRecord component
+that can be used with JRuby.
+It allows use of virtually any JDBC-compliant database with your
+JRuby on Rails application.
+
+WWW: http://rubyforge.org/projects/jruby-extras/