[19493] trunk/dports/ruby/rb-mysql/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Sep 10 16:17:32 PDT 2006


Revision: 19493
Author:   markd at macports.org
Date:     2006-09-10 16:17:31 -0700 (Sun, 10 Sep 2006)

Log Message:
-----------
No ticket.  Make it default to mysql5; add mysql4 variant; then nuke rb-mysql5.

Modified Paths:
--------------
    trunk/dports/ruby/rb-mysql/Portfile

Modified: trunk/dports/ruby/rb-mysql/Portfile
===================================================================
--- trunk/dports/ruby/rb-mysql/Portfile	2006-09-10 23:02:23 UTC (rev 19492)
+++ trunk/dports/ruby/rb-mysql/Portfile	2006-09-10 23:17:31 UTC (rev 19493)
@@ -2,22 +2,30 @@
 PortSystem		1.0
 PortGroup		ruby 1.0
 
-ruby.setup		{mysql mysql-ruby} 2.5.1 extconf.rb {README.html README_ja.html}
-revision		1
-maintainers		roberto at freebsd.org
-description		Ruby API for the Mysql4 database
+ruby.setup		{mysql mysql-ruby} 2.7.1 extconf.rb {README.html README_ja.html}
+
+maintainers		roberto at freebsd.org blair at orcaware.com
+
+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\; probably works with 3.23 or \
-					earlier with slight modification, but not tested at all.
+			databases from within Ruby.  It works with Mysql 4 or 5.
 categories-append	databases
 homepage		http://www.tmtm.org/mysql/ruby/
-master_sites	${homepage}
-checksums		md5 9c7026eb38ec8252de8bc89c5f263208
+master_sites		http://tmtm.org/downloads/mysql/ruby/
+checksums		md5 f708ab4401bfa834514bab9528580e58
 platforms		darwin
 
-depends_lib-append		lib:libmysqlclient.12:mysql4
+depends_lib		port:mysql5
+configure.args		--with-mysql-include=${prefix}/include/mysql5 \
+			--with-mysql-lib=${prefix}/lib/mysql5/mysql
 
-configure.args-append	--with-mysql-include=${prefix}/include/mysql \
-						--with-mysql-lib=${prefix}/lib/mysql
+variant mysql4 {
+depends_lib-delete	port:mysql5
+configure.args-delete	--with-mysql-include=${prefix}/include/mysql5 \
+			--with-mysql-lib=${prefix}/lib/mysql5/mysql
 
+depends_lib-append	port:mysql4
+configure.args-append   --with-mysql-include=${prefix}/include/mysql \
+                                                --with-mysql-lib=${prefix}/lib/mysql
+}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060910/7a842a73/attachment.html


More information about the macports-changes mailing list