From 5879cc9ec92cb61da27708ec2aa344ac912f3745 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 1 May 2009 11:17:54 +0000 Subject: [PATCH] Ruby DataObjects driver for MySQL WWW: http://rubyforge.org/projects/dorb/ Submitted by: Espen Volden aka voldern --- databases/Makefile | 1 + databases/rubygem-do_mysql/Makefile | 24 ++++++++++++++++++++++++ databases/rubygem-do_mysql/distinfo | 3 +++ databases/rubygem-do_mysql/pkg-descr | 7 +++++++ 4 files changed, 35 insertions(+) create mode 100644 databases/rubygem-do_mysql/Makefile create mode 100644 databases/rubygem-do_mysql/distinfo create mode 100644 databases/rubygem-do_mysql/pkg-descr diff --git a/databases/Makefile b/databases/Makefile index a3848738132d..7cb1c5c46b45 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -601,6 +601,7 @@ SUBDIR += rubygem-activerecord-jdbcmysql-adapter SUBDIR += rubygem-data_objects SUBDIR += rubygem-datamapper + SUBDIR += rubygem-do_mysql SUBDIR += rubygem-do_postgres SUBDIR += rubygem-do_sqlite3 SUBDIR += rubygem-jdbc-mysql diff --git a/databases/rubygem-do_mysql/Makefile b/databases/rubygem-do_mysql/Makefile new file mode 100644 index 000000000000..b3729c825d33 --- /dev/null +++ b/databases/rubygem-do_mysql/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: rubygem-do_mysql +# Date created: 28 April 2009 +# Whom: Espen Volden aka voldern +# +# $FreeBSD$ +# + +PORTNAME= do_mysql +PORTVERSION= 0.9.11 +CATEGORIES= databases rubygems +MASTER_SITES= RUBYFORGE/dorb +DISTNAME= ${PORTNAME}-${PORTVERSION} + +MAINTAINER= voldern@hoeggen.net +COMMENT= Ruby DataObjects driver for MySQL + +RUN_DEPENDS= rubygem-data_objects>=0.9.11:${PORTSDIR}/databases/rubygem-data_objects + +USE_MYSQL= yes +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include diff --git a/databases/rubygem-do_mysql/distinfo b/databases/rubygem-do_mysql/distinfo new file mode 100644 index 000000000000..5a4b631d9d2a --- /dev/null +++ b/databases/rubygem-do_mysql/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/do_mysql-0.9.11.gem) = db4aee36a7b6abb3fc268af741eb7fad +SHA256 (rubygem/do_mysql-0.9.11.gem) = c70c4f7f1f3b61f56ec69dc70b3c3c843c5ae64945e7be4dffae912085c19ae2 +SIZE (rubygem/do_mysql-0.9.11.gem) = 20992 diff --git a/databases/rubygem-do_mysql/pkg-descr b/databases/rubygem-do_mysql/pkg-descr new file mode 100644 index 000000000000..68a50884f5bb --- /dev/null +++ b/databases/rubygem-do_mysql/pkg-descr @@ -0,0 +1,7 @@ +Ruby DataObjects driver for MySQL +The purpose of DO.rb is to rewrite existing Ruby database drivers to conform to +a single interface. +At present, PostgreSQL, MySQL, and SQLite adapters are available. + +Author: Dirkjan Bussink (dbussink) +WWW: http://rubyforge.org/projects/dorb/