# -*- 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.branches 5.8 5.10 5.12 5.14 5.16 perl5.setup HTTP-Date 6.02 platforms darwin maintainers l2g openmaintainer license Artistic GPL supported_archs noarch description HTTP::Date - date conversion for HTTP date formats long_description ${description} if {${perl5.major} != ""} { patchfiles patch-lib-HTTP-Date.pm.diff checksums rmd160 b6f4159b50bf3592518c90e8421671ead76bea91 \ sha256 e8b9941da0f9f0c9c01068401a5e81341f0e3707d1c754f8e11f42a7e629e333 } # This hack is needed because of the libwww-perl 6.0 breakup (Trac #28865) pre-activate { if {[file exists ${perl5.lib}/HTTP/Date.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}" registry_deactivate_composite p5-libwww-perl "" [list ports_nodepcheck 1] } }