summaryrefslogtreecommitdiff
path: root/textproc/ruby-mecab
diff options
context:
space:
mode:
authorobache <obache>2008-02-04 04:58:52 +0000
committerobache <obache>2008-02-04 04:58:52 +0000
commit28e8fc46250dd42becb2063c9e2b4e7d728291a6 (patch)
tree19ab6f6f376a34b533f00d7a006010705b0258a7 /textproc/ruby-mecab
parentcae680be33d5a94035403a7bbbe2f5c668c27ab2 (diff)
downloadpkgsrc-28e8fc46250dd42becb2063c9e2b4e7d728291a6.tar.gz
Update mecab to 0.97.
Pkgsrc changes: * fix some pkglint warining * add DESTDIR support. Changes: * Fix a bug of exclusive control when dictionary is opened in MultiThreading environment. * When installing the Windows version, it came to be able to specify the character-code of the dictionary. * Fix a problem that was not able to be compiled correctly by some compilers. * Add API that changes partial, analytical mode (Tagger::set_partial()) * Add API that changes generation level of lattice (Tagger::set_lattice_level()) * Add API that changes temperature parameter (Tagger::set_theta()) * Add API that changes all candidate output mode (Tagger::set_all_morphs())
Diffstat (limited to 'textproc/ruby-mecab')
-rw-r--r--textproc/ruby-mecab/Makefile8
-rw-r--r--textproc/ruby-mecab/distinfo8
2 files changed, 10 insertions, 6 deletions
diff --git a/textproc/ruby-mecab/Makefile b/textproc/ruby-mecab/Makefile
index 67422b1d780..819a379e2f7 100644
--- a/textproc/ruby-mecab/Makefile
+++ b/textproc/ruby-mecab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:57:22 obache Exp $
+# $NetBSD: Makefile,v 1.2 2008/02/04 04:58:53 obache Exp $
.include "../../textproc/mecab/Makefile.common"
@@ -8,16 +8,20 @@ CATEGORIES+= ruby
COMMENT= MeCab ruby module
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
REPLACE_RUBY+= test.rb
RUBY_HAS_ARCHLIB= yes
USE_RUBY_EXTCONF= yes
do-test:
- ${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
+ ${RUN} \
cd ${WRKSRC}; \
env ${TEST_ENV} ${RUBY} test.rb
+BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
+
.include "../../textproc/mecab/buildlink3.mk"
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-mecab/distinfo b/textproc/ruby-mecab/distinfo
index 9d9674bf30f..0f6f3c548b7 100644
--- a/textproc/ruby-mecab/distinfo
+++ b/textproc/ruby-mecab/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2007/06/23 04:31:56 obache Exp $
+$NetBSD: distinfo,v 1.3 2008/02/04 04:58:54 obache Exp $
-SHA1 (mecab-ruby-0.96.tar.gz) = 2831121ed5121802c3bc0cbeedee7a04563e3bfd
-RMD160 (mecab-ruby-0.96.tar.gz) = bb0063b20162c0a6d02b529f9e451d8fe0e7b518
-Size (mecab-ruby-0.96.tar.gz) = 37936 bytes
+SHA1 (mecab-ruby-0.97.tar.gz) = 9278f53d18e9dc8daa0d1da6d62833bec34500b4
+RMD160 (mecab-ruby-0.97.tar.gz) = 60b93134e13de94437611a894ad648335b9cb0c7
+Size (mecab-ruby-0.97.tar.gz) = 41355 bytes