Files

35 lines
1.1 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-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}
}