aboutsummaryrefslogtreecommitdiff
path: root/japanese/php5-mecab
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2006-08-31 01:31:51 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2006-08-31 01:31:51 +0000
commit40477b3ebbb2a3211c31da9bc3aea42099d36e88 (patch)
tree3a4a7cd52052e01280a332df97b4e5910a9f8a84 /japanese/php5-mecab
parent454ad6b4c99c0c79879f40100ca811d9ad3b9b27 (diff)
downloadports-40477b3ebbb2a3211c31da9bc3aea42099d36e88.tar.gz
ports-40477b3ebbb2a3211c31da9bc3aea42099d36e88.zip
Add php5-mecab 0.0.2, a PHP5 extension for MeCab Morphological Analyzer.
Notes
Notes: svn path=/head/; revision=171685
Diffstat (limited to 'japanese/php5-mecab')
-rw-r--r--japanese/php5-mecab/Makefile30
-rw-r--r--japanese/php5-mecab/distinfo3
-rw-r--r--japanese/php5-mecab/pkg-descr3
3 files changed, 36 insertions, 0 deletions
diff --git a/japanese/php5-mecab/Makefile b/japanese/php5-mecab/Makefile
new file mode 100644
index 000000000000..03a80980dd0b
--- /dev/null
+++ b/japanese/php5-mecab/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: php5-mecab
+# Date created: 31 Aug 2006
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mecab
+PORTVERSION= 0.0.2
+CATEGORIES= japanese
+MASTER_SITES= http://page2.xrea.jp/pub/ \
+ http://dist.bsdlab.org/
+DISTNAME= php_mecab-${PORTVERSION}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= A PHP5 extension for MeCab Morphological Analyzer
+
+LIB_DEPENDS= mecab:${PORTSDIR}/japanese/mecab
+
+USE_PHP= yes
+DEFAULT_PHP_VER=5
+USE_PHPEXT= yes
+CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config
+
+.include <bsd.port.pre.mk>
+
+PKGNAMEPREFIX:= ${PKGNAMEPREFIX}php5-
+
+.include <bsd.port.post.mk>
diff --git a/japanese/php5-mecab/distinfo b/japanese/php5-mecab/distinfo
new file mode 100644
index 000000000000..82a907a9c0b4
--- /dev/null
+++ b/japanese/php5-mecab/distinfo
@@ -0,0 +1,3 @@
+MD5 (php_mecab-0.0.2.tgz) = 5c42d76ebeba8a8b301f7cd6e03d643c
+SHA256 (php_mecab-0.0.2.tgz) = 077f9f79a8e1ede839db98291501c53d5130082fc463d46516af61db19ec6269
+SIZE (php_mecab-0.0.2.tgz) = 25345
diff --git a/japanese/php5-mecab/pkg-descr b/japanese/php5-mecab/pkg-descr
new file mode 100644
index 000000000000..9948a96872c9
--- /dev/null
+++ b/japanese/php5-mecab/pkg-descr
@@ -0,0 +1,3 @@
+A PHP5 extension for MeCab Morphological Analyzer.
+
+WWW: http://page2.xrea.jp/#php_mecab (Japanese)