New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79379


Ignore:
Timestamp:
06/11/11 20:36:02 (4 years ago)
Author:
l2g@…
Message:

p5-libwww-perl: upgraded to version 6.02, broken up into many new ports and
dependencies

Location:
trunk/dports/perl
Files:
30 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-libwww-perl/Portfile

    r76604 r79379  
    44PortGroup                    perl5 1.0 
    55 
    6 perl5.setup                  libwww-perl 5.837 ../by-authors/id/G/GA/GAAS 
    7 revision        1 
     6perl5.setup                  libwww-perl 6.02 LWP 
    87maintainers                  narf_tm openmaintainer 
     8license                      Artistic GPL 
    99supported_archs              noarch 
    1010 
     
    2020                             simple HTTP servers. 
    2121 
    22 checksums                    sha1    43b4b0449d9432be29a136a10545c8d1162bcc88 \ 
    23                              rmd160  eed2d55409e0f712df188599abcb5ea237d93ac9 
    24  
    25 patchfiles                   patch-lib-HTTP-Date.pm.diff 
     22checksums                    sha1    211393d014a9c991e572138aaaf367d10ea7103e \ 
     23                             rmd160  741b292c6adbe70b6b33827606b8df0786a09922 
    2624 
    2725platforms                    darwin 
    2826 
    29 depends_lib-append           port:p5-io-compress \ 
    30                              port:p5-compress-raw-zlib \ 
     27depends_lib-append           port:p5-encode-locale \ 
     28                             port:p5-file-listing \ 
     29                             port:p5-html-form \ 
    3130                             port:p5-html-parser \ 
    32                              port:p5-html-tagset \ 
     31                             port:p5-http-cookies \ 
     32                             port:p5-http-daemon \ 
     33                             port:p5-http-date \ 
     34                             port:p5-http-message \ 
     35                             port:p5-http-negotiate \ 
     36                             port:p5-lwp-mediatypes \ 
     37                             port:p5-net-http \ 
    3338                             port:p5-uri \ 
    34                              port:p5-crypt-ssleay 
     39                             port:p5-www-robotrules 
    3540 
    3641use_parallel_build           yes 
     42 
     43post-destroot { 
     44    # Install miscellaneous doc files 
     45    file mkdir ${destroot}${prefix}/share/doc/${name} 
     46    file copy ${worksrcpath}/AUTHORS \ 
     47              ${worksrcpath}/Changes \ 
     48              ${worksrcpath}/README \ 
     49              ${worksrcpath}/README.SSL \ 
     50        ${destroot}${prefix}/share/doc/${name} 
     51} 
     52 
     53notes \ 
     54    "As of version 6.00, libwww-perl has been broken up into multiple" \ 
     55    "packages.  If you were using ${name} for just one or two of its" \ 
     56    "modules before, you may be able to pare down your installation to" \ 
     57    "just those modules now.  Other important changes have been made that" \ 
     58    "may affect your code; for details, please see:" \ 
     59    ${prefix}/share/doc/${name}/Changes 
     60 
     61# Starting with version 6.02, LWP::Protocol::https began to be packaged 
     62# separately from libwww-perl as well.  The thinking seems to have been that 
     63# any package requiring HTTPS support would just declare an extra dependency 
     64# on LWP::Protocol::https, and those that didn't, wouldn't. 
     65# 
     66# However, at this writing, there are 59 ports in MacPorts that depend on 
     67# p5-libwww-perl, and I don't want to audit them all for their HTTPS 
     68# requirements.  So in keeping with the Principle of Least Astonishment while 
     69# recognizing that some people won't need or want the extra modules installed, 
     70# I've decided to add a new variant and have it enabled by default. 
     71#     --Larry Gilbert (L2G) 2011-06-02 
     72 
     73default_variants   +ssl 
     74 
     75variant ssl description {Include optional SSL/TLS (HTTPS) support} { 
     76    depends_lib-append  port:p5-lwp-protocol-https 
     77} 
Note: See TracChangeset for help on using the changeset viewer.