# -*- 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

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Fey-ORM 0.47 ../by-authors/id/D/DR/DROLSKY
platforms           {darwin any}
maintainers         nomaintainer
license             {Artistic-1 GPL}

description         A Fey-based ORM (If you like SQL, you might like Fey::ORM)

long_description    Fey::ORM builds on top of other Fey project libraries to \
                    create an ORM focused on easy SQL generation. This is an \
                    ORM for people who are comfortable with SQL and want to be \
                    able to use it with their objects, rather than people who \
                    like OO and don't want to think about the DBMS.

checksums           rmd160  7951f4fb805f2b95be56ef52aa5e85ba6ecfa1b8 \
                    sha256  bcb67e3980252e00a184d54eddf949780042932d6793c60f0b009fce0adcee63

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-dbd-sqlite \
                    port:p${perl5.major}-fey-test \
                    port:p${perl5.major}-test-fatal

    depends_lib-append \
                    port:p${perl5.major}-devel-globaldestruction \
                    port:p${perl5.major}-exception-class \
                    port:p${perl5.major}-fey \
                    port:p${perl5.major}-fey-dbimanager \
                    port:p${perl5.major}-list-allutils \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-moosex-classattribute \
                    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}-object-id \
                    port:p${perl5.major}-sub-exporter

    supported_archs noarch
}
