pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/migemo Import migemo version 0.40.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36ca326a59a1
branches:  trunk
changeset: 538495:36ca326a59a1
user:      obache <obache%pkgsrc.org@localhost>
date:      Sun Feb 10 13:08:51 2008 +0000

description:
Import migemo version 0.40.
Based on package provided by Yamashiro Jun in PR 37615.

Japanese incremental text search tools/library.

diffstat:

 textproc/migemo/DESCR            |   1 +
 textproc/migemo/Makefile         |  26 ++++++++++++++++++++++++++
 textproc/migemo/Makefile.common  |  13 +++++++++++++
 textproc/migemo/PLIST            |  19 +++++++++++++++++++
 textproc/migemo/distinfo         |   7 +++++++
 textproc/migemo/patches/patch-aa |  12 ++++++++++++
 textproc/migemo/patches/patch-ab |  25 +++++++++++++++++++++++++
 7 files changed, 103 insertions(+), 0 deletions(-)

diffs (131 lines):

diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/DESCR     Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,1 @@
+Japanese incremental text search tools/library.
diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/Makefile  Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/02/10 13:08:51 obache Exp $
+
+.include "../../textproc/migemo/Makefile.common"
+
+PKGNAME=               ${RUBY_PKGPREFIX}-migemo-${MIGEMO_VERSION}
+
+COMMENT=               Japanese text search tool/library
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=              ${RUBY_PKGPREFIX}-bsearch-*:../../devel/ruby-bsearch
+DEPENDS+=              ${RUBY_PKGPREFIX}-romkan-*:../../converters/ruby-romkan
+
+USE_TOOLS+=            autoconf213 automake14 aclocal
+GNU_CONFIGURE=         yes
+CONFIGURE_ARGS+=       --with-rubydir=${RUBY_SITELIBDIR}
+
+REPLACE_RUBY=          migemo migemo-client migemo-grep migemo-server
+
+pre-configure:
+       cd ${WRKSRC} && aclocal && automake -a --foreign -i && autoconf
+
+TEST_TARGET=           check
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/Makefile.common   Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 2008/02/10 13:08:51 obache Exp $
+#
+# used by textproc/migemo/Makefile
+# used by textproc/migemo-elisp/Makefile
+
+MIGEMO_VERSION=                0.40
+
+DISTNAME=              migemo-${MIGEMO_VERSION}
+CATEGORIES=            textproc
+MASTER_SITES=          http://0xcc.net/migemo/
+
+MAINTAINER=            yamajun%ofug.net@localhost
+HOMEPAGE=              http://0xcc.net/migemo/
diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/PLIST     Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/02/10 13:08:51 obache Exp $
+bin/migemo
+bin/migemo-client
+bin/migemo-grep
+bin/migemo-server
+lib/ruby/site_ruby/1.8/migemo-cache.rb
+lib/ruby/site_ruby/1.8/migemo-convert.rb
+lib/ruby/site_ruby/1.8/migemo-dict.rb
+lib/ruby/site_ruby/1.8/migemo-index.rb
+lib/ruby/site_ruby/1.8/migemo-regex.rb
+lib/ruby/site_ruby/1.8/migemo.rb
+share/migemo/migemo-dict
+share/migemo/migemo-dict.cache
+share/migemo/migemo-dict.cache.idx
+share/migemo/migemo-dict.idx
+share/migemo/migemo.ja.rd
+share/migemo/regex-dict.sample
+share/migemo/user-dict.sample
+@dirrm share/migemo
diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/distinfo  Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/02/10 13:08:51 obache Exp $
+
+SHA1 (migemo-0.40.tar.gz) = 0c7f066c4c271a8e2556ea9d9cc850c650eaebc8
+RMD160 (migemo-0.40.tar.gz) = 6663ac89abc89e4c568c44a71e8ae1f016920df0
+Size (migemo-0.40.tar.gz) = 1674941 bytes
+SHA1 (patch-aa) = a83ce755f3751b9bea6c2e4b4c09d94d2c9a932c
+SHA1 (patch-ab) = 1f0062c64e694e465803e4b4c2bd89855b071ac0
diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/patches/patch-aa  Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/02/10 13:08:51 obache Exp $
+
+--- configure.in.orig  2003-05-28 12:18:18.000000000 +0000
++++ configure.in
+@@ -6,7 +6,6 @@ if test "$RUBY" = "no"; then
+     AC_MSG_ERROR(ruby not found)
+ fi
+ 
+-AM_PATH_LISPDIR
+ AM_PATH_RUBYDIR
+ 
+ echo -n "checking Ruby/Bsearch... "
diff -r 92dfda1b6d67 -r 36ca326a59a1 textproc/migemo/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/migemo/patches/patch-ab  Sun Feb 10 13:08:51 2008 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/02/10 13:08:51 obache Exp $
+
+--- Makefile.am.orig   2003-05-28 12:14:04.000000000 +0000
++++ Makefile.am
+@@ -1,6 +1,5 @@
+ SUBDIRS      =        tests
+ bin_SCRIPTS  =  migemo migemo-grep migemo-server migemo-client
+-lisp_LISP    =        migemo.el
+ ruby_data_    = migemo-dict.rb migemo-regex.rb\
+               migemo-convert.rb migemo-index.rb migemo-cache.rb 
+ ruby_DATA    =  migemo.rb $(ruby_data_)
+@@ -8,12 +7,9 @@ pkgdata_DATA =        migemo-dict migemo-dict.
+               migemo-dict.cache migemo-dict.cache.idx\
+               user-dict.sample regex-dict.sample\
+               migemo.ja.rd
+-EXTRA_DIST   =        $(bin_SCRIPTS) migemo.rb.in $(ruby_data_) migemo.el.in \
++EXTRA_DIST   =        $(bin_SCRIPTS) migemo.rb.in $(ruby_data_) \
+               genchars.sh ngram.sh frequent-chars $(pkgdata_DATA)
+ 
+-migemo.el: migemo.el.in
+-      sed -e 's!@pkgdatadir@!$(pkgdatadir)!g' migemo.el.in > $@
+-
+ migemo-dict: # SKK-JISYO.L
+       ruby -I. migemo-convert.rb SKK-JISYO.L > $@
+ 



Home | Main Index | Thread Index | Old Index