source: trunk/dports/perl/p5-dbd-mysql/Portfile @ 133671

Last change on this file since 133671 was 133671, checked in by devans@…, 5 years ago

p5-dbd-mysql: update to version 4.031, dependencies.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 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 133671 2015-03-08 18:31:13Z devans@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.16 5.18 5.20
8perl5.setup         DBD-mysql 4.031
9license             {Artistic-1 GPL}
10maintainers         nomaintainer
11description         Perl5 Database Interface to the MySQL database
12long_description    ${description}
13
14platforms           darwin
15
16checksums           rmd160  dc25a5c307d99b2c3b875ede3755409ddd9334e1 \
17                    sha256  ae2ee4339fb13429922d76d37e25ce838f98baa011f691a6bbec8513ddb4cfd2
18
19if {${perl5.major} != ""} {
20    depends_build-append        port:p${perl5.major}-test-deep
21
22    depends_lib-append          port:p${perl5.major}-dbi
23
24    variant mysql4 conflicts mysql5 mysql51 mysql55 mysql56 mariadb percona description {build with mysql4 port} {
25        depends_lib-append      port:mysql4
26    }
27
28    variant mysql5 conflicts mysql4 mysql51 mysql55 mysql56 mariadb percona description {build with mysql5 port} {
29        depends_lib-append      path:bin/mysql_config5:mysql5
30        configure.args-append   --mysql_config=${prefix}/bin/mysql_config5
31    }
32
33    variant mysql51 conflicts mysql4 mysql5 mysql55 mysql56 mariadb percona description {build with mysql51 port} {
34        depends_lib-append      port:mysql51
35        configure.args-append   --mysql_config=${prefix}/lib/mysql51/bin/mysql_config
36    }
37
38    variant mysql55 conflicts mysql4 mysql5 mysql51 mysql56 mariadb percona description {build with mysql55 port} {
39        depends_lib-append      port:mysql55
40        configure.args-append   --mysql_config=${prefix}/lib/mysql55/bin/mysql_config
41    }
42
43    variant mysql56 conflicts mysql4 mysql5 mysql51 mysql55 mariadb percona description {build with mysql56 port} {
44        depends_lib-append      port:mysql56
45        configure.args-append   --mysql_config=${prefix}/lib/mysql56/bin/mysql_config
46    }
47
48    variant mariadb conflicts mysql4 mysql5 mysql51 mysql55 mysql56 percona description {build with mariadb port} {
49        depends_lib-append      port:mariadb
50        configure.args-append   --mysql_config=${prefix}/lib/mariadb/bin/mysql_config
51    }
52
53    variant percona conflicts mysql4 mysql5 mysql51 mysql55 mysql56 mariadb description {build with percona port} {
54        depends_lib-append      port:percona
55        configure.args-append   --mysql_config=${prefix}/lib/percona/bin/mysql_config
56    }
57
58    if {   ![variant_isset mysql4]
59        && ![variant_isset mysql5]
60        && ![variant_isset mysql51]
61        && ![variant_isset mysql55]
62        && ![variant_isset mysql56]
63        && ![variant_isset mariadb]
64        && ![variant_isset percona]
65    } {
66        default_variants +mysql56
67    }
68}
Note: See TracBrowser for help on using the repository browser.