# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 119318 2014-04-22 21:07:35Z mojca@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18
perl5.setup         URI 1.59
revision            2
platforms           darwin
maintainers         l2g openmaintainer
license             Artistic GPL
supported_archs     noarch

description         Uniform Resource Identifiers (absolute and relative)

long_description \
    This package contains the URI.pm module with friends. The module \
    implements the URI class. Objects of this class represent Uniform Resource \
    Identifier references as specified in RFC 2396 and updated by RFC 2732.

checksums           rmd160  3b2923d0831f8e9824360121e9e2e70370dc0c5c \
                    sha256  cb88d29b589db8d2adbc4713fd082284cba77883488717375f011bbd13b5cac6

if {${perl5.major} != ""} {
depends_lib-append  port:p${perl5.major}-mime-base64

use_parallel_build  yes

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} Changes README ${destroot}${docdir}
}
}
