# -*- 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 0.40 ../by-authors/id/D/DR/DROLSKY
revision            1
platforms           darwin
maintainers         l2g openmaintainer
license             Artistic-2+
supported_archs     noarch

description         Fey - Better SQL Generation Through Perl

long_description    ${description}

checksums           sha1 867d25d89cc0ebcf418987e079ad64a0f0a64c04 \
                    rmd160 d72ceb2db69405e94e9179e603853fe01935a06c

if {${perl5.major} != ""} {
depends_lib-append  port:p${perl5.major}-exception-class \
                    port:p${perl5.major}-list-allutils \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-moosex-params-validate \
                    port:p${perl5.major}-moosex-role-parameterized \
                    port:p${perl5.major}-moosex-semiaffordanceaccessor \
                    port:p${perl5.major}-moosex-strictconstructor \
                    port:p${perl5.major}-moosex-types \
                    port:p${perl5.major}-namespace-autoclean \
                    port:p${perl5.major}-task-weaken \
                    port:p${perl5.major}-tie-ixhash

# Only needed for testing
#
#depends_build-append    port:p${perl5.major}-fey-test \
#                        port:p${perl5.major}-test-memory-cycle
}
