source: trunk/dports/perl/p5-mime-tools/Portfile

Last change on this file was 154393, checked in by mojca@…, 13 months ago

p5-*: remove subports for perl5.22 (#52081)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1# -*- 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
2# $Id: Portfile 154393 2016-10-28 22:10:07Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           perl5 1.0
6
7perl5.branches      5.24
8perl5.setup         MIME-tools 5.508
9
10license             {Artistic-1 GPL}
11maintainers         nomaintainer
12description         modules for parsing (and creating!) MIME entities
13long_description    MIME-tools is a collection of Perl5 MIME:: modules \
14                    for parsing, decoding, *and generating* single- or \
15                    multipart (even nested multipart) MIME messages. \
16                    (Yes, kids, that means you can send messages with \
17                    attached GIF files).
18
19homepage            https://metacpan.org/release/${perl5.module}
20
21checksums           rmd160  e06e58521a568354dd78e38c09f0558fee47220d \
22                    sha256  adffe86cd0b045d5a1553f48e72e89b9834fbda4f334c98215995b98cb17c917
23
24platforms           darwin
25
26if {${perl5.major} != ""} {
27    depends_build-append \
28                    port:p${perl5.major}-test-deep
29
30    depends_lib-append \
31                    port:p${perl5.major}-convert-binhex \
32                    port:p${perl5.major}-file-temp \
33                    port:p${perl5.major}-io-stringy \
34                    port:p${perl5.major}-mailtools
35
36    patchfiles      patch-lib-MIME-Parser.pm.nobinhex.diff \
37                    patch-lib-MIME-Parser.pm.useContentTypeName.diff \
38                    patch-lib-MIME-Parser.pm.uu_whine.diff
39
40##                  patch-lib-MIME-Tools.pm.diff
41
42    supported_archs     noarch
43
44    variant doBinHex description {use the (buggy) internal binhex decoder} {
45        patchfiles-delete   patch-lib-MIME-Parser.pm.nobinhex.diff
46    }
47
48    variant allow_no_trailing_boundary description {parse MIME messages without a trailing boundary rather than consider them to be an error} {
49        patchfiles-append   patch-lib-MIME-Parser.pm.allow_no_trailing_boundary.diff
50    }
51}
Note: See TracBrowser for help on using the repository browser.