# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 82547 2011-08-15 16:46:16Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Fey-DBIManager 0.16 ../by-authors/id/D/DR/DROLSKY
revision            1
platforms           darwin
maintainers         l2g openmaintainer
license             Artistic-2+
supported_archs     noarch

description         Fey::DBIManager - Manage a set of DBI handles

long_description    ${description}

checksums           sha1    8580e5c9b917efd06923249957334d87f14bd2d4 \
                    rmd160  265de5117e21288fcab23059cec36aa97726d6ed

if {${perl5.major} != ""} {
patchfiles          patch-lib-Fey-DBIManager.pm.diff \
                    patch-lib-Fey-DBIManager-Source.pm.diff

depends_lib-append  port:p${perl5.major}-fey \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-moosex-semiaffordanceaccessor \
                    port:p${perl5.major}-moosex-strictconstructor \
                    port:p${perl5.major}-namespace-autoclean

# These are only needed for testing:
#
#depends_build-append    port:p${perl5.major}-dbd-mock \
#                        port:p${perl5.major}-dbd-sqlite \
#                        port:p${perl5.major}-fey-test
}
