fe1c392e4d
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
31 lines
591 B
Makefile
31 lines
591 B
Makefile
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>
|