# $Id: Portfile 47185 2009-02-23 03:32:44Z narf_tm@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

perl5.setup               SQL-Translator 0.09004
maintainers               narf_tm openmaintainer
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 0f54df1319ad5c5c6e833cbb5d51e383 \
                          sha1 cf8a8f22019f4e16c44d49534f5f9f8ad60b31db \
                          rmd160 9355e88bb33170446b768d18c8e5055234757db4

depends_lib-append        port:p5-class-accessor \
                          port:p5-class-base \
                          port:p5-class-data-inheritable \
                          port:p5-class-makemethods \
                          port:p5-dbi \
                          port:p5-digest-sha1 \
                          port:p5-log-log4perl \
                          port:p5-parse-recdescent \
                          port:p5-test-differences \
                          port:p5-test-exception \
                          port:p5-yaml \
                          port:p5-io-stringy \
                          port:p5-spreadsheet-parseexcel \
                          port:p5-template-toolkit \
                          port:p5-text-parsewords \
                          port:p5-text-recordparser \
                          port:p5-xml-writer \
                          port:p5-xml-xpath

perl5.use_module_build

variant gd description {build with gd support} {
                          depends_lib-append port:p5-gd
                          }

variant graph description {build with graph support} {
                          depends_lib-append port:p5-graph
                          }

variant graphviz description {build with graphviz support} {
                          depends_lib-append port:p5-graphviz
                          }
