# -*- 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         RDF-Trine 1.019
revision            0
license             {Artistic-1 GPL}
maintainers         {devans @dbevans} openmaintainer
description         RDF::Trine - An RDF Framework for Perl
long_description    ${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  dc8bdbdc7ee13fe7e555691160661ab3e997d655 \
                    sha256  1bb07daa10781738aeedd8e70156868c9a70fbd310f05f2ec1f6ea02d8697060 \
                    size    573302

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-deep \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-json

    depends_lib-append \
                    port:p${perl5.major}-algorithm-combinatorics \
                    port:p${perl5.major}-cache-lru \
                    port:p${perl5.major}-data-uuid \
                    port:p${perl5.major}-dbd-sqlite \
                    port:p${perl5.major}-dbi \
                    port:p${perl5.major}-dbix-connector \
                    port:p${perl5.major}-error \
                    port:p${perl5.major}-http-negotiate \
                    port:p${perl5.major}-iri \
                    port:p${perl5.major}-libwww-perl \
                    port:p${perl5.major}-log-log4perl \
                    port:p${perl5.major}-moose \
                    port:p${perl5.major}-moosex-arrayref \
                    port:p${perl5.major}-set-scalar \
                    port:p${perl5.major}-text-csv_xs \
                    port:p${perl5.major}-text-table \
                    port:p${perl5.major}-time-hires \
                    port:p${perl5.major}-uri \
                    port:p${perl5.major}-xml-commonns \
                    port:p${perl5.major}-xml-libxml \
                    port:p${perl5.major}-xml-namespace \
                    port:p${perl5.major}-xml-sax \
                    port:p${perl5.major}-xml-sax-expat

    notes "
The RDF::Trine SQLite backend in versions 1.013 and prior had a bug in
the encoding of RDF data, likely causing data loss.

RDF::Trine 1.014 and later have fixed this bug.

However, the RDF data encoded in SQLite with RDF::Trine versions 1.014 and
later will no longer be compatible with the shared schema used in other DBI
backends (such as PostgreSQL or MySQL). To exchange data between SQLite and
other databases, the data will require export to an RDF serialization and
re-import to the new database.
"
}
