diff options
Diffstat (limited to 'textproc/php-mecab/Makefile')
-rw-r--r-- | textproc/php-mecab/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
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 <gasol.wu@gmail.com> +# $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 <bsd.port.mk> |