# -*- 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$ PortSystem 1.0 PortGroup perl5 1.0 perl5.setup HTTP-Cookies 6.00 revision 1 platforms darwin maintainers l2g openmaintainer license {Artistic GPL} supported_archs noarch description HTTP::Cookies - HTTP cookie jars long_description ${description} checksums sha1 a7132472166ac32a68a2f186ad1518ba4a0c29b3 \ rmd160 d6630e0c7c57523ec536af36e7b75b4fc25e3c3d if {${perl5.major} != ""} { depends_lib-append port:p${perl5.major}-http-date \ port:p${perl5.major}-http-message } # This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865) pre-activate { if {[file exists ${perl5.lib}/HTTP/Cookies.pm] && ![catch {set vers [lindex [registry_active p5-libwww-perl] 0]}] && [vercmp [lindex $vers 1] 6.0] < 0} { ui_warn "Deactivating old, pre-6.x libwww-perl to activate ${name}" set deactivate_proc registry_deactivate_composite if {[info commands registry_deactivate_composite] == {}} { set deactivate_proc registry_deactivate } $deactivate_proc p5-libwww-perl "" [list ports_nodepcheck 1] } }