diff options
author | taca <taca@pkgsrc.org> | 2010-12-19 02:13:50 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-12-19 02:13:50 +0000 |
commit | ed664f04ae56bc4b23621a7614a2c1fe112f4335 (patch) | |
tree | 7e896d2f957076a632a75b5e05151564b378538e /textproc/php-mecab | |
parent | d5cf2e26ecc04b8b26c9943c25cad0c63f661c78 (diff) | |
download | pkgsrc-ed664f04ae56bc4b23621a7614a2c1fe112f4335.tar.gz |
Importing textproc/php-mecab version 0.4.1.
A PHP extension for MeCab Morphological Analyzer.
Still in experimental but seems to used well.
Diffstat (limited to 'textproc/php-mecab')
-rw-r--r-- | textproc/php-mecab/DESCR | 3 | ||||
-rw-r--r-- | textproc/php-mecab/Makefile | 27 | ||||
-rw-r--r-- | textproc/php-mecab/PLIST.extras | 31 | ||||
-rw-r--r-- | textproc/php-mecab/distinfo | 5 |
4 files changed, 66 insertions, 0 deletions
diff --git a/textproc/php-mecab/DESCR b/textproc/php-mecab/DESCR new file mode 100644 index 00000000000..d4831142a68 --- /dev/null +++ b/textproc/php-mecab/DESCR @@ -0,0 +1,3 @@ +A PHP extension for MeCab Morphological Analyzer. + +Still in experimental but seems to used well. diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile new file mode 100644 index 00000000000..b82c3fc2f76 --- /dev/null +++ b/textproc/php-mecab/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/12/19 02:13:50 taca Exp $ +# + +MODNAME= mecab +PECL_VERSION= 0.4.1 +CATEGORIES= textproc japanese +MASTER_SITES= http://pecl.opendogs.org/get/ + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= http://page2.xrea.jp/#php_mecab +# http://d.hatena.ne.jp/rsky/ +COMMENT= PHP extension for MeCab Morphological Analyzer +LICENSE= mit + +PKG_DESTDIR_SUPPORT= user-destdir + +EGDIR= share/examples/php/mecab +INSTALLATION_DIRS+= ${EGDIR} +PLIST_SRC+= ${.CURDIR}/PLIST.extras + +post-install: + cd ${WRKSRC}/examples && \ + ${INSTALL_DATA} *.php ${DESTDIR}${PREFIX}/${EGDIR} + +.include "../../textproc/mecab-base/buildlink3.mk" +.include "../../lang/php/ext.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/php-mecab/PLIST.extras b/textproc/php-mecab/PLIST.extras new file mode 100644 index 00000000000..d24b0c76bb9 --- /dev/null +++ b/textproc/php-mecab/PLIST.extras @@ -0,0 +1,31 @@ +@comment $NetBSD: PLIST.extras,v 1.1.1.1 2010/12/19 02:13:50 taca Exp $ +share/examples/php/mecab/allmorphs-func.php +share/examples/php/mecab/allmorphs-oo.php +share/examples/php/mecab/common.inc.php +share/examples/php/mecab/dicinfo-func.php +share/examples/php/mecab/dicinfo-oo.php +share/examples/php/mecab/dumpall-func.php +share/examples/php/mecab/dumpall-oo.php +share/examples/php/mecab/dumpall-oo2.php +share/examples/php/mecab/format-func.php +share/examples/php/mecab/format-oo.php +share/examples/php/mecab/format-oo2.php +share/examples/php/mecab/nbest-func.php +share/examples/php/mecab/nbest-oo.php +share/examples/php/mecab/nodelist-func.php +share/examples/php/mecab/nodelist-oo.php +share/examples/php/mecab/nodelist-oo2.php +share/examples/php/mecab/parse-func-p.php +share/examples/php/mecab/parse-func.php +share/examples/php/mecab/parse-oo-p.php +share/examples/php/mecab/parse-oo.php +share/examples/php/mecab/provides-r.php +share/examples/php/mecab/provides.php +share/examples/php/mecab/split-func-p.php +share/examples/php/mecab/split-func.php +share/examples/php/mecab/split-oo-p.php +share/examples/php/mecab/split-oo.php +share/examples/php/mecab/test-func.php +share/examples/php/mecab/test-oo.php +share/examples/php/mecab/wakati-func.php +share/examples/php/mecab/wakati-oo.php diff --git a/textproc/php-mecab/distinfo b/textproc/php-mecab/distinfo new file mode 100644 index 00000000000..9cd9d372732 --- /dev/null +++ b/textproc/php-mecab/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/12/19 02:13:50 taca Exp $ + +SHA1 (php-mecab/mecab-0.4.1.tgz) = 362b325f370d9f6ba89b17b29b62d0be1cdbd0bf +RMD160 (php-mecab/mecab-0.4.1.tgz) = 89a0c404ec3e88486fb2c98c472b55d1b2a012ca +Size (php-mecab/mecab-0.4.1.tgz) = 46219 bytes |