Files
2026-04-01 17:04:41 -05:00

51 lines
1.6 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup php 1.1
name php-APCu
categories-append devel
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
license PHP-3.01
# Compatible with PHP 8.4 as of 5.1.24
php.branches 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4 8.5
php.pecl yes
if {[vercmp ${php.branch} >= 7.0]} {
version 5.1.28
revision 0
checksums rmd160 ab3327358a336f8549c98ea407c8b3f76e416d0f \
sha256 ca9c1820810a168786f8048a4c3f8c9e3fd941407ad1553259fb2e30b5f057bf \
size 94004
} else {
version 4.0.11
revision 0
checksums rmd160 506c1a4202c66c0d87aba496fe8523117925b157 \
sha256 454f302ec13a6047ca4c39e081217ce5a61bbea815aec9c1091fb849e70b4d00 \
size 119535
}
description APC User Cache
long_description APCu contains the user-level functionality from APC
if {${name} ne ${subport}} {
if {${php.branch} in {5.3 5.4 5.5 5.6}} {
conflicts-append ${php}-xcache
}
if {${php.branch} in {5.3 5.4}} {
conflicts-append ${php}-APC
}
if {${php.branch} in {5.3}} {
conflicts-append ${php}-eaccelerator
}
distname apcu-${version}
configure.args-append --enable-apcu-spinlocks
use_parallel_build yes
}