# -*- 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
PortSystem 1.0
PortGroup perl5 1.0
PortGroup active_variants 1.1
perl5.branches 5.26
perl5.setup Apache-AuthCookie 3.27
license {Artistic-1 GPL}
maintainers nomaintainer
description perl interface to cookies in apache
long_description ${description}
platforms darwin
supported_archs noarch
checksums rmd160 800c6c10ca7e6d0fb5651401bfa40c669376d115 \
sha256 58daeb3e44c681ff88f8fb00e4aabaa7a40cbee73dbdb84fcf6c285b15d357bd
if {${perl5.major} != ""} {
depends_build-append \
port:p${perl5.major}-apache-test \
port:p${perl5.major}-uri
depends_lib-append \
port:apache2 \
port:mod_perl2 \
port:p${perl5.major}-class-load \
port:p${perl5.major}-hash-multivalue \
port:p${perl5.major}-http-body \
port:p${perl5.major}-www-form-urlencoded
variant apache22 description "use apache22 instead of apache2" {
depends_lib-replace port:apache2 port:apache22
}
set required_variant [string map {. _} "perl${perl5.major}"]
require_active_variants \
mod_perl2 $required_variant
}