# $Id: Portfile 84918 2011-10-04 17:25:30Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           Class-DBI 3.0.17
revision              2
license               {Artistic-1 GPL}
maintainers           nomaintainer
description           Simple Database Abstraction
long_description      Class::DBI provides a convenient abstraction layer to \
                      a database. It not only provides a simple database to \
                      object mapping layer, but can be used to implement \
                      several higher order database functions (triggers, \
                      referential integrity, cascading delete etc.), at the \
                      application level, rather than at the database.
distname              Class-DBI-v${perl5.moduleversion}

platforms             darwin

checksums             md5 df59962bab98a0d31bf1d04d7270831b

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-class-accessor \
                      port:p${perl5.major}-class-data-inheritable \
                      port:p${perl5.major}-class-trigger \
                      port:p${perl5.major}-clone \
                      port:p${perl5.major}-ima-dbi \
                      port:p${perl5.major}-universal-moniker \
                      port:p${perl5.major}-version
}
