From 032cc488607d3935061bde31a99b38814aa84971 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 7 Sep 2015 07:24:55 +0000 Subject: Add php-mecab 0.5.0.20121209, PHP bindings of the MeCab. PR: 202831 Submitted by: Gasol Wu --- textproc/php-mecab/Makefile | 28 ++++++++++++++++++++++++++++ textproc/php-mecab/distinfo | 2 ++ textproc/php-mecab/pkg-descr | 3 +++ 3 files changed, 33 insertions(+) create mode 100644 textproc/php-mecab/Makefile create mode 100644 textproc/php-mecab/distinfo create mode 100644 textproc/php-mecab/pkg-descr (limited to 'textproc/php-mecab') diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile new file mode 100644 index 000000000000..b73bbfa0aae9 --- /dev/null +++ b/textproc/php-mecab/Makefile @@ -0,0 +1,28 @@ +# Created by: Gasol Wu +# $FreeBSD$ + +PORTNAME= mecab +PORTVERSION= 0.5.0.20121209 +CATEGORIES= textproc +PKGNAMEPREFIX= php- + +MAINTAINER= gasol.wu@gmail.com +COMMENT= PHP bindings of the MeCab + +LICENSE= MIT + +LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab + +USE_GITHUB= yes +GH_ACCOUNT= rsky +GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME} +GH_TAGNAME= 55e6481 + +WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/mecab +CONFIGURE_ARGS+= --with-mecab=${LOCALBASE}/bin/mecab-config +USE_PHP= yes +USE_PHPIZE= yes +USE_PHPEXT= yes +USES= tar:tgz + +.include diff --git a/textproc/php-mecab/distinfo b/textproc/php-mecab/distinfo new file mode 100644 index 000000000000..d6072f657420 --- /dev/null +++ b/textproc/php-mecab/distinfo @@ -0,0 +1,2 @@ +SHA256 (rsky-php-mecab-0.5.0.20121209-55e6481_GH0.tgz) = 927443ae5e407757ba55c88e9b43afb768a31ffee36a131d2ae56bd4907f1240 +SIZE (rsky-php-mecab-0.5.0.20121209-55e6481_GH0.tgz) = 52084 diff --git a/textproc/php-mecab/pkg-descr b/textproc/php-mecab/pkg-descr new file mode 100644 index 000000000000..0fd01f470b7f --- /dev/null +++ b/textproc/php-mecab/pkg-descr @@ -0,0 +1,3 @@ +MeCab: Yet Another Part-of-Speech and Morphological Analyzer + +WWW: https://github.com/rsky/php-mecab -- cgit v1.2.3