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

Last change on this file since 33969 was 33969, checked in by narf_tm@…, 12 years ago

Fixed whitespace and lint errors.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 33969 2008-02-08 20:16:13Z narf_tm@macports.org $
2
3PortSystem               1.0
4PortGroup                perl5 1.0
5
6perl5.setup              DBD-mysql 4.006
7maintainers              narf_tm openmaintainer
8description              Perl5 Database Interface to the MySQL database
9long_description         ${description}
10
11platforms                darwin
12
13checksums                md5 133ac08c22bb19194ad8b895e3204310
14
15depends_lib-append       port:p5-dbi \
16                         port:mysql5 \
17                         port:zlib
18
19configure.args-append    --mysql_config=${prefix}/bin/mysql_config5
20
21variant mysqlbinary conflicts mysql3 mysql4 description {build with binary from mysql website} {
22    depends_lib-delete       port:mysql5
23    configure.args-delete    --mysql_config=${prefix}/bin/mysql_config5
24    configure.args-append    --mysql_config=/usr/local/mysql/bin/mysql_config
25}
26
27variant mysql3 conflicts mysqlbinary mysql4 description {build with mysql3 port} {
28    depends_lib-delete       port:mysql5
29    depends_lib-append       port:mysql3
30    configure.args-delete    --mysql_config=${prefix}/bin/mysql_config5
31}
32
33variant mysql4 conflicts mysqlbinary mysql3 description {build with mysql4 port} {
34    depends_lib-delete       port:mysql5
35    depends_lib-append       port:mysql4
36    configure.args-delete    --mysql_config=${prefix}/bin/mysql_config5
37}
Note: See TracBrowser for help on using the repository browser.