You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
php-imap: for php >= 8.3 moved to separate Portfile
This commit is contained in:
+3
-2
@@ -1287,8 +1287,9 @@ subport ${php}-iconv {
|
||||
configure.args-append --with-iconv=${prefix}
|
||||
}
|
||||
|
||||
if {[vercmp ${branch} < 8.4]} {
|
||||
# This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 8.4.0 "
|
||||
if {[vercmp ${branch} < 8.3]} {
|
||||
# imap was evicted from PHP core in version 8.4;
|
||||
# php83-imap and later subports are found in the separate php-imap Portfile.
|
||||
subport ${php}-imap {
|
||||
switch -- ${version} {
|
||||
5.2.17 {revision 0}
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
# -*- 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-imap
|
||||
categories-append mail
|
||||
maintainers {mathiesen.info:macintosh BjarneDMat} openmaintainer
|
||||
license PHP-3.01
|
||||
|
||||
# php82-imap and earlier subports are in the php Portfile.
|
||||
php.branches 8.3 8.4 8.5
|
||||
php.pecl yes
|
||||
|
||||
description a PHP interface to the IMAP protocol
|
||||
|
||||
long_description {*}${description}
|
||||
|
||||
# according to
|
||||
# https://pecl.php.net/package/imap
|
||||
# imap for php81-php84 ought to be supported by this;
|
||||
# but 1.0.0 fails to compile
|
||||
if {[vercmp ${php.branch} >= 8.3]} {
|
||||
version 1.0.3
|
||||
revision 0
|
||||
checksums rmd160 13677f1f6b649360eaaf603ba86d39af69e16835 \
|
||||
sha256 0c2c0b1f94f299004be996b85a424e3d11ff65ac0a3c980db3213289a4a3faaf \
|
||||
size 63476
|
||||
} elseif {[vercmp ${php.branch} >= 8.1]} {
|
||||
version 1.0.0
|
||||
revision 0
|
||||
checksums rmd160 250cc83d4b4125f233da6c160a4c1900837d988b \
|
||||
sha256 cddf9e90380f01f27408137a62253254cff54f2f988de09350b5f107c8f44a39 \
|
||||
size 63260
|
||||
}
|
||||
if {${name} ne ${subport}} {
|
||||
depends_build-append port:cclient \
|
||||
path:bin/pkg-config:pkgconfig
|
||||
|
||||
depends_lib-append port:kerberos5 \
|
||||
port:libcomerr
|
||||
|
||||
configure.args-append --with-imap=${prefix} \
|
||||
--with-imap-ssl=${prefix} \
|
||||
--with-kerberos=${prefix}
|
||||
}
|
||||
Reference in New Issue
Block a user