aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-08-31 09:31:51 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-08-31 09:31:51 +0800
commit26fe562903b305892b937e55afab5cb65dacc104 (patch)
treeec2c9ae09c92cd93bc5d5f1f4f4045e4e338e3bb /japanese
parentea3a455f4b096e764054d8d8b48e523ab8f18a55 (diff)
downloadfreebsd-ports-gnome-26fe562903b305892b937e55afab5cb65dacc104.tar.gz
freebsd-ports-gnome-26fe562903b305892b937e55afab5cb65dacc104.tar.zst
freebsd-ports-gnome-26fe562903b305892b937e55afab5cb65dacc104.zip
Add php5-mecab 0.0.2, a PHP5 extension for MeCab Morphological Analyzer.
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Makefile1
-rw-r--r--japanese/php5-mecab/Makefile30
-rw-r--r--japanese/php5-mecab/distinfo3
-rw-r--r--japanese/php5-mecab/pkg-descr3
4 files changed, 37 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile
index 2ca372abdd3a..d5d145107c6e 100644
--- a/japanese/Makefile
+++ b/japanese/Makefile
@@ -292,6 +292,7 @@
SUBDIR += paledit
SUBDIR += pejv-fpw
SUBDIR += perl5
+ SUBDIR += php5-mecab
SUBDIR += php_doc
SUBDIR += plain2
SUBDIR += plan
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)