Commit fe1c392e authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

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
parent 48009dca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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

textproc/pecl-pspell/distinfo

deleted100644 → 0
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1722163315
SHA256 (PECL/pspell-1.0.1.tgz) = 585441202e3a53e7b5190b38c2f8438d37b53845448d28af5f904cf65c56c02f
SIZE (PECL/pspell-1.0.1.tgz) = 10850
+14 −3
Original line number Diff line number Diff line
PORTNAME=	pspell
DISTVERSION=	1.0.1
CATEGORIES=	textproc
PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Shared community extension for pspell
@@ -11,9 +12,19 @@ LICENSE_FILE= ${WRKSRC}/LICENSE

LIB_DEPENDS=	libaspell.so:textproc/aspell

USES=		php:pecl
IGNORE_WITH_PHP=	82 83 86
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.mk>
.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>
Loading