You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
030be89bf0
Reindex php70/php71/php72 modules after changing php-1.1 portgroup since it affects whether known_fail will go into the index.
50 lines
1.6 KiB
Tcl
50 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:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup php 1.1
|
|
|
|
name php-zip
|
|
categories-append archivers
|
|
platforms darwin
|
|
maintainers {ryandesign @ryandesign} openmaintainer
|
|
license PHP-3.01
|
|
|
|
php.branches 5.2 5.3 5.4 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
|
|
php.pecl yes
|
|
|
|
if {[vercmp ${php.branch} 5.4] >= 0} {
|
|
epoch 3
|
|
version 1.19.2
|
|
revision 0
|
|
checksums rmd160 66c22bc0a645f382ebdc733d554f5d615eeb585f \
|
|
sha256 4088150113e2a85b418563757f3c3d164a7fabc0af13282c5429a06211afa85c \
|
|
size 325915
|
|
} elseif {[vercmp ${php.branch} 4.3] >= 0} {
|
|
epoch 3
|
|
version 1.16.1
|
|
revision 0
|
|
checksums rmd160 3ed87e3f8200452c0db76a6ae24de49c8dfe9176 \
|
|
sha256 9802a2e3941e5cb3aed1bf60b434654af520dd0ad096934d81f2d3826ff86f7e \
|
|
size 289776
|
|
}
|
|
|
|
description PHP zip functions
|
|
|
|
long_description This PHP extension lets you create, read and modify zip \
|
|
files.
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append port:libzip \
|
|
port:zlib
|
|
|
|
if {[vercmp ${php.branch} 7.4] < 0} {
|
|
configure.args-append --enable-zip \
|
|
--with-libzip=${prefix} \
|
|
--with-zlib-dir=${prefix}
|
|
} else {
|
|
depends_build-append port:pkgconfig
|
|
|
|
configure.args-append --with-zip
|
|
}
|
|
}
|