# -*- 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 154393 2016-10-28 22:10:07Z mojca@macports.org $ PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.24 perl5.setup MIME-tools 5.508 license {Artistic-1 GPL} maintainers nomaintainer description modules for parsing (and creating!) MIME entities long_description MIME-tools is a collection of Perl5 MIME:: modules \ for parsing, decoding, *and generating* single- or \ multipart (even nested multipart) MIME messages. \ (Yes, kids, that means you can send messages with \ attached GIF files). homepage https://metacpan.org/release/${perl5.module} checksums rmd160 e06e58521a568354dd78e38c09f0558fee47220d \ sha256 adffe86cd0b045d5a1553f48e72e89b9834fbda4f334c98215995b98cb17c917 platforms darwin if {${perl5.major} != ""} { depends_build-append \ port:p${perl5.major}-test-deep depends_lib-append \ port:p${perl5.major}-convert-binhex \ port:p${perl5.major}-file-temp \ port:p${perl5.major}-io-stringy \ port:p${perl5.major}-mailtools patchfiles patch-lib-MIME-Parser.pm.nobinhex.diff \ patch-lib-MIME-Parser.pm.useContentTypeName.diff \ patch-lib-MIME-Parser.pm.uu_whine.diff ## patch-lib-MIME-Tools.pm.diff supported_archs noarch variant doBinHex description {use the (buggy) internal binhex decoder} { patchfiles-delete patch-lib-MIME-Parser.pm.nobinhex.diff } variant allow_no_trailing_boundary description {parse MIME messages without a trailing boundary rather than consider them to be an error} { patchfiles-append patch-lib-MIME-Parser.pm.allow_no_trailing_boundary.diff } }