# -*- 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
perl5.setup MIME-tools 5.509
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 \
homepage https://metacpan.org/release/${perl5.module}
checksums rmd160 6ae7674915f678f5a5483eeee8c2d548bf784e41 \
sha256 64579f0c923d81d9a2194586e47c3475519e2646e4b5c102a8920759facf6973
if {${perl5.major} != ""} {
port:p${perl5.major}-test-deep
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
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