summaryrefslogtreecommitdiffstats
path: root/textproc/php-mecab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php-mecab/Makefile')
-rw-r--r--textproc/php-mecab/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile
index 65bf0af..3abcd6c 100644
--- a/textproc/php-mecab/Makefile
+++ b/textproc/php-mecab/Makefile
@@ -1,11 +1,10 @@
# Created by: Gasol Wu <gasol.wu@gmail.com>
# $FreeBSD$
-PORTNAME= mecab
+PORTNAME= php-mecab
PORTVERSION= 0.6.0
DISTVERSIONPREFIX= v
CATEGORIES= textproc
-PKGNAMEPREFIX= php-
MAINTAINER= gasol.wu@gmail.com
COMMENT= PHP bindings of the MeCab
@@ -16,13 +15,10 @@ LIB_DEPENDS= libmecab.so:japanese/mecab
USE_GITHUB= yes
GH_ACCOUNT= rsky
-GH_PROJECT= ${PKGNAMEPREFIX}${PORTNAME}
-WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/mecab
+WRKSRC_SUBDIR= mecab
CONFIGURE_ARGS+= --with-mecab=${LOCALBASE}/bin/mecab-config
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
+PHP_MODNAME= mecab
.include <bsd.port.mk>
OpenPOWER on IntegriCloud