diff options
-rw-r--r-- | textproc/migemo/DESCR | 1 | ||||
-rw-r--r-- | textproc/migemo/Makefile | 26 | ||||
-rw-r--r-- | textproc/migemo/Makefile.common | 13 | ||||
-rw-r--r-- | textproc/migemo/PLIST | 19 | ||||
-rw-r--r-- | textproc/migemo/distinfo | 7 | ||||
-rw-r--r-- | textproc/migemo/patches/patch-aa | 12 | ||||
-rw-r--r-- | textproc/migemo/patches/patch-ab | 25 |
7 files changed, 103 insertions, 0 deletions
diff --git a/textproc/migemo/DESCR b/textproc/migemo/DESCR new file mode 100644 index 00000000000..8a884bafbf2 --- /dev/null +++ b/textproc/migemo/DESCR @@ -0,0 +1 @@ +Japanese incremental text search tools/library. diff --git a/textproc/migemo/Makefile b/textproc/migemo/Makefile new file mode 100644 index 00000000000..55828444407 --- /dev/null +++ b/textproc/migemo/Makefile @@ -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 --git a/textproc/migemo/Makefile.common b/textproc/migemo/Makefile.common new file mode 100644 index 00000000000..8717c85b553 --- /dev/null +++ b/textproc/migemo/Makefile.common @@ -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 +HOMEPAGE= http://0xcc.net/migemo/ diff --git a/textproc/migemo/PLIST b/textproc/migemo/PLIST new file mode 100644 index 00000000000..73c2dc865f9 --- /dev/null +++ b/textproc/migemo/PLIST @@ -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 --git a/textproc/migemo/distinfo b/textproc/migemo/distinfo new file mode 100644 index 00000000000..62138d730c6 --- /dev/null +++ b/textproc/migemo/distinfo @@ -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 --git a/textproc/migemo/patches/patch-aa b/textproc/migemo/patches/patch-aa new file mode 100644 index 00000000000..b6c6a2808a5 --- /dev/null +++ b/textproc/migemo/patches/patch-aa @@ -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 --git a/textproc/migemo/patches/patch-ab b/textproc/migemo/patches/patch-ab new file mode 100644 index 00000000000..2a8054fe973 --- /dev/null +++ b/textproc/migemo/patches/patch-ab @@ -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 > $@ + |