# $Id: Portfile 66379 2010-04-10 20:28:25Z febeling@macports.org $ PortSystem 1.0 PortGroup ruby 1.0 revision 1 ruby.setup {mysql mysql-ruby} 2.7.5 extconf.rb {README.html README_ja.html} maintainers freebsd.org:roberto description Ruby API for the Mysql database long_description This is the Ruby library for accessing Mysql \ databases from within Ruby. It works with Mysql 4 or 5. categories-append databases homepage http://www.tmtm.org/mysql/ruby/ master_sites http://tmtm.org/downloads/mysql/ruby/ checksums md5 4e42869196aa84ca17e70ab2287f8830 platforms darwin depends_lib path:bin/mysql_config5:mysql5 depends_build port:ruby configure.args --with-mysql-config=${prefix}/bin/mysql_config5 variant mysql4 description "Build using MySQL 4.1 client library" { depends_lib-delete path:bin/mysql_config5:mysql5 configure.args-delete --with-mysql-config=${prefix}/bin/mysql_config5 depends_lib-append path:bin/mysql_config:mysql4 configure.args-append --with-mysql-config=${prefix}/bin/mysql_config }