git: de3e5b77af2c - main - textproc/php-mecab: Cleanup

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 29 Nov 2022 20:22:05 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=de3e5b77af2cdb03c0211299ceb367401c1a0876

commit de3e5b77af2cdb03c0211299ceb367401c1a0876
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-29 20:21:11 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-29 20:21:11 +0000

    textproc/php-mecab: Cleanup
    
    - Requires php74 which was EOL on 2022-11-28
    
    Approved by:    portmgr (blanket infrastructure)
    Sponsored by:   Bounce Experts
---
 MOVED                                   |  1 +
 textproc/Makefile                       |  1 -
 textproc/php-mecab/Makefile             | 28 ----------------------------
 textproc/php-mecab/distinfo             |  2 --
 textproc/php-mecab/files/patch-mecab7.c | 11 -----------
 textproc/php-mecab/pkg-descr            |  1 -
 6 files changed, 1 insertion(+), 43 deletions(-)

diff --git a/MOVED b/MOVED
index 920a7516d7b8..a1ced2100386 100644
--- a/MOVED
+++ b/MOVED
@@ -17621,3 +17621,4 @@ www/typo3-10||2022-11-29|Requires php74 which was EOL on 2022-11-28
 www/phalcon4||2022-11-29|Requires php74 which was EOL on 2022-11-28
 www/ilias6||2022-11-29|Requires php74 which was EOL on 2022-11-28
 net/pecl-zmq||2022-11-29|Requires php74 which was EOL on 2022-11-28
+textproc/php-mecab||2022-11-29|Requires php74 which was EOL on 2022-11-28
diff --git a/textproc/Makefile b/textproc/Makefile
index 933f8835320d..b12a8eda2dad 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1226,7 +1226,6 @@
     SUBDIR += peco
     SUBDIR += peg
     SUBDIR += perl2html
-    SUBDIR += php-mecab
     SUBDIR += php74-ctype
     SUBDIR += php74-dom
     SUBDIR += php74-enchant
diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile
deleted file mode 100644
index a9fe6e8d99f2..000000000000
--- a/textproc/php-mecab/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME=	mecab
-PORTVERSION=	0.6.0
-DISTVERSIONPREFIX=	v
-PORTREVISION=	2
-CATEGORIES=	textproc
-PKGNAMEPREFIX=	${PHP_PKGNAMEPREFIX}
-
-MAINTAINER=	gasol.wu@gmail.com
-COMMENT=	PHP bindings of the MeCab
-WWW=		https://github.com/rsky/php-mecab
-
-LICENSE=	MIT
-
-DEPRECATED=	Requires php 7.4 which is set to expire on 2022-11-29
-EXPIRATION_DATE=2022-11-28
-
-LIB_DEPENDS=	libmecab.so:japanese/mecab
-
-USES=		php:ext
-USE_GITHUB=	yes
-GH_ACCOUNT=	rsky
-GH_PROJECT=	php-${PORTNAME}
-IGNORE_WITH_PHP=	80 81 82
-
-WRKSRC_SUBDIR=	mecab
-CONFIGURE_ARGS=	--with-mecab=${LOCALBASE}/bin/mecab-config
-
-.include <bsd.port.mk>
diff --git a/textproc/php-mecab/distinfo b/textproc/php-mecab/distinfo
deleted file mode 100644
index 6fba3d57ec75..000000000000
--- a/textproc/php-mecab/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (rsky-php-mecab-v0.6.0_GH0.tar.gz) = 8ec57164dd208f700ca16853f07fb62f111e16b025ca1ab5d4100aaaa9aa7c58
-SIZE (rsky-php-mecab-v0.6.0_GH0.tar.gz) = 54864
diff --git a/textproc/php-mecab/files/patch-mecab7.c b/textproc/php-mecab/files/patch-mecab7.c
deleted file mode 100644
index 8e58ce50ad35..000000000000
--- a/textproc/php-mecab/files/patch-mecab7.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- mecab7.c.orig	2015-12-05 16:08:55 UTC
-+++ mecab7.c
-@@ -1456,7 +1456,7 @@ static PHP_FUNCTION(mecab_new)
- 	if (zoptions != NULL) {
- 		int getopt_result = 0;
- 		zend_string *key;
--		ulong num_key;
-+		zend_ulong num_key;
- 		zval *entry;
- 
- 		ALLOC_HASHTABLE(options);
diff --git a/textproc/php-mecab/pkg-descr b/textproc/php-mecab/pkg-descr
deleted file mode 100644
index 3eebf1a099c8..000000000000
--- a/textproc/php-mecab/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-MeCab: Yet Another Part-of-Speech and Morphological Analyzer