source: trunk/dports/ruby/rb19-mysql/Portfile

Last change on this file was 104841, checked in by jmr@…, 4 years ago

rb19-mysql: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 104841 2013-04-03 20:16:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           ruby 1.0
6
7ruby.setup          {mysql mysql-ruby} 2.8.2 extconf.rb {README.html README_ja.html} default_fetch ruby19
8categories-append   databases
9license             {Ruby GPL-2}
10platforms           darwin
11maintainers         nomaintainer
12
13description         Ruby client library for MySQL
14
15long_description    Ruby client library for accessing MySQL \
16                    databases from Ruby. It works with MySQL 4 or 5.
17
18homepage            http://www.tmtm.org/mysql/ruby/
19master_sites        http://tmtm.org/downloads/mysql/ruby/
20
21checksums           sha1    c20ec0f41f19f11270963d9c9e0d5a2bba27801e \
22                    rmd160  0cd9a6071f0878a5ab4b47d9a023066f5ae39955
23
24depends_lib-append  path:bin/mysql_config5:mysql5
25
26# gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
27universal_variant   no
28
29configure.args      --with-mysql-config=${prefix}/bin/mysql_config5
30
31variant mysql4 description "Build using MySQL 4.1 client library" {
32    depends_lib-delete      path:bin/mysql_config5:mysql5
33    configure.args-delete   --with-mysql-config=${prefix}/bin/mysql_config5
34
35    depends_lib-append      port:mysql4
36    configure.args-append   --with-mysql-config=${prefix}/bin/mysql_config
37}
Note: See TracBrowser for help on using the repository browser.