You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
40 lines
1.5 KiB
Tcl
40 lines
1.5 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-timezonedb
|
|
categories-append devel
|
|
maintainers {ryandesign @ryandesign} {mathiesen.info:macintosh @BjarneDMat} openmaintainer
|
|
license PHP-3.01
|
|
|
|
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
|
|
|
|
description A PECL Timezone Database.
|
|
|
|
long_description Timezone Database to be used with PHP's date and time \
|
|
functions.
|
|
|
|
# Version 2021.5 and later require PHP 5.4 or later though that was not
|
|
# indicated until version 2022.6.
|
|
# https://bugs.php.net/bug.php?id=80923
|
|
# https://github.com/php/pecl-datetime-timezonedb/commit/fb6fbdc87bd579085481f2d61c65a672ae10fe8e
|
|
if {[vercmp ${php.branch} >= 5.4]} {
|
|
version 2026.1
|
|
revision 0
|
|
checksums rmd160 66c050dec95b9a5e1517ddaa7638ca035deafe7c \
|
|
sha256 ca53eeed51c21ff8ade4ed52cc4095a13eec4037682a3c3fb3947f61108f5091 \
|
|
size 651815
|
|
} elseif {[vercmp ${php.branch} >= 5.2]} {
|
|
version 2021.1
|
|
revision 0
|
|
checksums rmd160 a9f33ee172b1a7384767901f464f8d0b48689e67 \
|
|
sha256 9fd473fc76e01a2ffcd087283d20e4ec14067b29a8336ac4acf9c564abbeaa55 \
|
|
size 415891
|
|
}
|
|
|
|
configure.args-append --enable-timezonedb
|
|
|
|
use_parallel_build yes
|