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-pspell: for php >= 8.1 moved to separate Portfile
This commit is contained in:
+4
-5
@@ -2135,8 +2135,10 @@ subport ${php}-postgresql {
|
||||
}
|
||||
}
|
||||
|
||||
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.1]} {
|
||||
# pspell was evicted from PHP core in version 8.4
|
||||
# php81-pspell and later
|
||||
# subports are found in the separate php-pspell Portfile.
|
||||
subport ${php}-pspell {
|
||||
switch -- ${version} {
|
||||
5.2.17 {revision 0}
|
||||
@@ -2150,9 +2152,6 @@ subport ${php}-pspell {
|
||||
7.3.33 {revision 0}
|
||||
7.4.33 {revision 0}
|
||||
8.0.30 {revision 0}
|
||||
8.1.30 {revision 0}
|
||||
8.2.24 {revision 0}
|
||||
8.3.12 {revision 0}
|
||||
}
|
||||
|
||||
categories-append textproc
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
# -*- 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-pspell
|
||||
categories-append textproc
|
||||
maintainers {mathiesen.info:macintosh BjarneDMat} openmaintainer
|
||||
license PHP-3.01
|
||||
|
||||
# php80-pspell and earlier subports are in the php Portfile.
|
||||
php.branches 8.1 8.2 8.3 8.4 8.5
|
||||
php.pecl yes
|
||||
|
||||
description a PHP interface to the aspell library, which lets you \
|
||||
check spelling and offer spelling suggestions
|
||||
|
||||
long_description {*}${description}
|
||||
|
||||
if {[vercmp ${php.branch} >= 8.1]} {
|
||||
version 1.0.1
|
||||
revision 0
|
||||
checksums rmd160 1b035791e93bb9e622dba3a7c7249fc9d5b29f17 \
|
||||
sha256 585441202e3a53e7b5190b38c2f8438d37b53845448d28af5f904cf65c56c02f \
|
||||
size 10850
|
||||
}
|
||||
|
||||
if {${name} ne ${subport}} {
|
||||
depends_build-append port:cclient
|
||||
|
||||
depends_lib-append port:aspell
|
||||
|
||||
configure.args-append --with-pspell=${prefix}
|
||||
}
|
||||
Reference in New Issue
Block a user