# $Id: Portfile,v 1.13 2006/06/14 14:56:55 narf_tm Exp $

PortSystem		1.0
PortGroup		perl5 1.0
perl5.setup		DBD-mysql 3.0006
maintainers		narf_tm@opendarwin.org
description		Perl5 Database Interface to the MySQL database
long_description	${description}

platforms		darwin

checksums		md5 b6d46ea7df99800082a2d2480056b0ce

depends_lib-append	port:p5-dbi port:mysql5 port:zlib

configure.args-append   --mysql_config=${prefix}/bin/mysql_config5

variant mysql3 conflicts mysql4 {
	depends_lib-delete port:mysql5
	depends_lib-append port:mysql3
	configure.args-delete   --mysql_config=${prefix}/bin/mysql_config5
}

variant mysql4 conflicts mysql3 {
	depends_lib-delete port:mysql5
	depends_lib-append port:mysql4
	configure.args-delete   --mysql_config=${prefix}/bin/mysql_config5
}

