diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2026-07-05 15:34:48 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2026-07-05 18:58:38 +0000 |
| commit | fe1c392e4d99e4781368471c5a5882d2434ec305 (patch) | |
| tree | 7951378a08cd447ff7e10ded09910937f9da3e20 | |
| parent | 48009dcae7464580e706e2876131d17bfec14dc2 (diff) | |
textproc/{pecl|php}-pspell: Convert port
This extension allows you to check the spelling of a word and offer
suggestions using aspell.
Please note that pecl infrastructure is being deprecated so create a
different port which is not dependent on pecl infrastructure.
This commit also removes pecl-pspell ports in lieu of this port.
WWW: https://github.com/php/pecl-text-pspell
| -rw-r--r-- | MOVED | 1 | ||||
| -rw-r--r-- | Mk/Uses/php.mk | 2 | ||||
| -rw-r--r-- | textproc/Makefile | 2 | ||||
| -rw-r--r-- | textproc/pecl-pspell/Makefile | 19 | ||||
| -rw-r--r-- | textproc/pecl-pspell/distinfo | 3 | ||||
| -rw-r--r-- | textproc/php-pspell/Makefile | 30 | ||||
| -rw-r--r-- | textproc/php-pspell/distinfo | 3 | ||||
| -rw-r--r-- | textproc/php-pspell/pkg-descr (renamed from textproc/pecl-pspell/pkg-descr) | 0 |
8 files changed, 36 insertions, 24 deletions
@@ -5490,3 +5490,4 @@ sysutils/rubygem-puppetserver-ca|sysutils/rubygem-openvoxserver-ca|2026-07-01|Ha java/jd-gui|java/jd-gui-duo|2026-07-03|Switch to active fork and rename lang/perl5.38||2026-07-03|Has expired: Support ends three years after .0 release. Please upgrade to a more recent version of Perl graphics/gimp-jxl-plugin||2026-07-03|Integrated into graphics/gimp-app +textproc/pecl-pspell|textproc/php-pspell|2026-07-05|Converted to standard extension from pecl extension diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk index 0c13662946fb..9225d11a8b50 100644 --- a/Mk/Uses/php.mk +++ b/Mk/Uses/php.mk @@ -442,7 +442,7 @@ posix_DEPENDS= sysutils/php${PHP_VER}-posix . if ${PHP_VER} <= 83 pspell_DEPENDS= textproc/php${PHP_VER}-pspell . else -pspell_DEPENDS= textproc/pecl-pspell@${PHP_FLAVOR} +pspell_DEPENDS= textproc/php-pspell@${PHP_FLAVOR} . endif radius_DEPENDS= net/pecl-radius@${PHP_FLAVOR} readline_DEPENDS= devel/php${PHP_VER}-readline diff --git a/textproc/Makefile b/textproc/Makefile index 23b9d4099bda..e0726823fd82 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1277,7 +1277,6 @@ SUBDIR += pear-XML_HTMLSax SUBDIR += pear-XML_Wddx SUBDIR += pear-YAML - SUBDIR += pecl-pspell SUBDIR += pecl-xdiff2 SUBDIR += pecl-xlswriter SUBDIR += pecl-yaml @@ -1285,6 +1284,7 @@ SUBDIR += peco SUBDIR += peg SUBDIR += perl2html + SUBDIR += php-pspell SUBDIR += php82-ctype SUBDIR += php82-dom SUBDIR += php82-enchant diff --git a/textproc/pecl-pspell/Makefile b/textproc/pecl-pspell/Makefile deleted file mode 100644 index e403acfc2300..000000000000 --- a/textproc/pecl-pspell/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -PORTNAME= pspell -DISTVERSION= 1.0.1 -CATEGORIES= textproc - -MAINTAINER= bofh@FreeBSD.org -COMMENT= Shared community extension for pspell -WWW= https://github.com/php/pecl-text-pspell - -LICENSE= PHP301 -LICENSE_FILE= ${WRKSRC}/LICENSE - -LIB_DEPENDS= libaspell.so:textproc/aspell - -USES= php:pecl -IGNORE_WITH_PHP= 82 83 86 - -TEST_TARGET= test - -.include <bsd.port.mk> diff --git a/textproc/pecl-pspell/distinfo b/textproc/pecl-pspell/distinfo deleted file mode 100644 index dad94f326696..000000000000 --- a/textproc/pecl-pspell/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1722163315 -SHA256 (PECL/pspell-1.0.1.tgz) = 585441202e3a53e7b5190b38c2f8438d37b53845448d28af5f904cf65c56c02f -SIZE (PECL/pspell-1.0.1.tgz) = 10850 diff --git a/textproc/php-pspell/Makefile b/textproc/php-pspell/Makefile new file mode 100644 index 000000000000..c5132acbb16a --- /dev/null +++ b/textproc/php-pspell/Makefile @@ -0,0 +1,30 @@ +PORTNAME= pspell +DISTVERSION= 1.0.1 +CATEGORIES= textproc +PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Shared community extension for pspell +WWW= https://github.com/php/pecl-text-pspell + +LICENSE= PHP301 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libaspell.so:textproc/aspell + +USES= php:ext +USE_GITHUB= yes +GH_ACCOUNT= php +GH_PROJECT= pecl-text-pspell +IGNORE_WITH_PHP= 82 83 + +TEST_TARGET= test + +.include <bsd.port.pre.mk> + +.if ${PHP_VER} >= 86 +post-patch: + @${REINPLACE_CMD} -e 's|XtOffsetOf|offsetof|' ${WRKSRC}/pspell.c +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/php-pspell/distinfo b/textproc/php-pspell/distinfo new file mode 100644 index 000000000000..2460067df3a6 --- /dev/null +++ b/textproc/php-pspell/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783265235 +SHA256 (php-pecl-text-pspell-1.0.1_GH0.tar.gz) = c98cbfe35039ff2daa51370a4a1515258435d22b73a22cb3f45ed741dd45662a +SIZE (php-pecl-text-pspell-1.0.1_GH0.tar.gz) = 10933 diff --git a/textproc/pecl-pspell/pkg-descr b/textproc/php-pspell/pkg-descr index af1f0d62210c..af1f0d62210c 100644 --- a/textproc/pecl-pspell/pkg-descr +++ b/textproc/php-pspell/pkg-descr |
