# $Id: Portfile 86113 2011-10-19 12:18:59Z jmr@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

perl5.setup               SQL-Translator 0.11007
revision                  2
license                   GPL-2
maintainers               nomaintainer
description               manipulate structured data definitions (SQL and more)
long_description          SQL::Translator is a group of Perl modules that \
                          converts vendor-specific SQL table definitions into \
                          other formats, such as other vendor-specific SQL, \
                          ER diagrams, documentation (POD and HTML), XML,\
                          and Class::DBI classes.

platforms                 darwin

checksums                 md5 3bbc504fe1e59de38b8cbb58c2f11d61 \
                          sha1 ba136e6e7839ae3acf3607e46d1e352cae837eda \
                          rmd160 408e6fc9b4f1fe128e72c93af7496570d50ad280

if {${perl5.major} != ""} {
depends_lib-append        port:p${perl5.major}-class-accessor \
                          port:p${perl5.major}-class-base \
                          port:p${perl5.major}-class-data-inheritable \
                          port:p${perl5.major}-class-makemethods \
                          port:p${perl5.major}-dbi \
                          port:p${perl5.major}-digest-sha1 \
                          port:p${perl5.major}-parse-recdescent \
                          port:p${perl5.major}-test-differences \
                          port:p${perl5.major}-test-exception \
                          port:p${perl5.major}-yaml \
                          port:p${perl5.major}-io-stringy \
                          port:p${perl5.major}-spreadsheet-parseexcel \
                          port:p${perl5.major}-template-toolkit \
                          port:p${perl5.major}-text-recordparser \
                          port:p${perl5.major}-xml-writer \
                          port:p${perl5.major}-xml-libxml \
                          port:p${perl5.major}-carp-clan \
                          port:p${perl5.major}-file-sharedir

variant gd description {build with gd support} {
	depends_lib-append port:p${perl5.major}-gd
}

variant graph description {build with graph support} {
	depends_lib-append port:p${perl5.major}-graph
}

variant graphviz description {build with graphviz support} {
	depends_lib-append port:p${perl5.major}-graphviz
}
}
