# $Id: Portfile 64402 2010-03-04 22:11:13Z narf_tm@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

perl5.setup               SQL-Translator 0.11005
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 d725755f9bbe466f468d341689df38e2 \
                          sha1 78ea5265bbed785ade1a14f318789b9ff493d8ff \
                          rmd160 b35fef08a91d4887f1284caea29439d53f8e2c31

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-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-recordparser \
                          port:p5-xml-writer \
                          port:p5-xml-libxml \
                          port:p5-carp-clan \
                          port:p5-file-sharedir

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
}
