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

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           sha1 b03de3323c83e7621ce1214cc7f1e613f122d5f3 \
                    rmd160 604daf00666349cf574afb14ea5e0a666e42ce25

if {${perl5.major} != ""} {
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

# These ports are only required when testing:
#depends_build-append    port:p${perl5.major}-dbd-sqlite \
#                        port:p${perl5.major}-fey-test
}
