# -*- 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
PortGroup active_variants 1.1
perl5.branches 5.26 5.28 5.30
perl5.setup Apache-AuthCookie 3.27
description perl interface to cookies in apache
long_description ${description}
checksums rmd160 800c6c10ca7e6d0fb5651401bfa40c669376d115 \
sha256 58daeb3e44c681ff88f8fb00e4aabaa7a40cbee73dbdb84fcf6c285b15d357bd
if {${perl5.major} != ""} {
port:p${perl5.major}-apache-test \
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" {
# remove after 2020-05-02
ui_error "Please do not install this variant since Apache 2.2 is obsolete."
set required_variant [string map {. _} "perl${perl5.major}"]
require_active_variants \
mod_perl2 $required_variant