# $Id: Portfile 84911 2011-10-04 17:05:57Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Encode 2.26
revision            2
platforms           darwin
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Character encoding module
long_description    The "Encode" module provides the interfaces between \
                    Perl's strings and the rest of the system. Perl strings \
                    are sequences of characters.

checksums           md5 eefbcd910384e894862258c25e0c572e \
                    sha1 fd07d9e6914c5816d6a1f425e7303c08be02a150 \
                    rmd160 9bf5a643d8a17ca6a571bd33418ddb362828d540

if {${perl5.major} != ""} {
post-destroot {
    # These files were already installed by perl 5.8.
    file delete ${destroot}${prefix}/bin/enc2xs
    file delete ${destroot}${prefix}/bin/piconv
    file delete ${destroot}${prefix}/share/man/man1/enc2xs.1
    file delete ${destroot}${prefix}/share/man/man1/piconv.1
}
}
