diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-22 02:33:00 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-22 02:33:00 +0000 |
commit | dd8c6c94b7c197f6dfc564faa8065c2400a4186f (patch) | |
tree | f40e1eff0a7f2ae86d59cc8f6aca6df85e624640 /japanese | |
parent | Add swigruby, Ruby module for SWIG. (diff) |
Add ja-rbnamazu, a client of the "Namazu" full-text search engine
written in Ruby.
Notes
Notes:
svn path=/head/; revision=31842
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/Makefile | 1 | ||||
-rw-r--r-- | japanese/rbnamazu/Makefile | 52 | ||||
-rw-r--r-- | japanese/rbnamazu/distinfo | 1 | ||||
-rw-r--r-- | japanese/rbnamazu/files/patch-aa | 22 | ||||
-rw-r--r-- | japanese/rbnamazu/pkg-comment | 1 | ||||
-rw-r--r-- | japanese/rbnamazu/pkg-descr | 8 | ||||
-rw-r--r-- | japanese/rbnamazu/pkg-plist | 9 |
7 files changed, 94 insertions, 0 deletions
diff --git a/japanese/Makefile b/japanese/Makefile index dc22370ba197..b90fd613e58b 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -225,6 +225,7 @@ SUBDIR += ptex-pkfonts600 SUBDIR += ptex-sjis SUBDIR += qkc + SUBDIR += rbnamazu SUBDIR += recjis SUBDIR += rogue_s SUBDIR += rskkserv diff --git a/japanese/rbnamazu/Makefile b/japanese/rbnamazu/Makefile new file mode 100644 index 000000000000..58771c24cec5 --- /dev/null +++ b/japanese/rbnamazu/Makefile @@ -0,0 +1,52 @@ +# New ports collection makefile for: rbnamazu +# Date created: 18 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= rbnamazu +PORTVERSION= 0.3 +CATEGORIES= japanese textproc ruby +MASTER_SITES= ftp://ftp.namazu.org/pub/namazu/ruby/ +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= rd2:${PORTSDIR}/textproc/ruby-rdtool +.endif +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/optparse.rb:${PORTSDIR}/devel/ruby-optparse + +NO_BUILD= yes + +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} + +MODULES= rbnamazu.rb nmzqr.rb nmzqr.tab.rb nmzdoc.rb +RD_DOCS= rbnamazu.rd.ja rbnamazu.rd.en + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/namazu.rb ${PREFIX}/bin/rbnamazu +.for f in ${MODULES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/ +.endfor +.if !defined(NOPORTDOCS) +.for f in ${RD_DOCS} + cd ${WRKSRC}; \ + rd2 ${f} > ${f:S/.rd/.html/} +.endfor + ${MKDIR} ${PREFIX}/share/doc/ruby/rbnamazu/ja +.for f in ${RD_DOCS:S/.rd/.html/:M*.en} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/rbnamazu/ +.endfor +.for f in ${RD_DOCS:S/.rd/.html/:M*.ja} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/rbnamazu/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/japanese/rbnamazu/distinfo b/japanese/rbnamazu/distinfo new file mode 100644 index 000000000000..56fbef5db441 --- /dev/null +++ b/japanese/rbnamazu/distinfo @@ -0,0 +1 @@ +MD5 (ruby/rbnamazu-0.3.tar.gz) = bbb65f3388ae7cd54e6d655ebf1f1219 diff --git a/japanese/rbnamazu/files/patch-aa b/japanese/rbnamazu/files/patch-aa new file mode 100644 index 000000000000..ade7a239f7f4 --- /dev/null +++ b/japanese/rbnamazu/files/patch-aa @@ -0,0 +1,22 @@ +--- rbnamazu.rb.orig Thu Jul 6 01:09:37 2000 ++++ rbnamazu.rb Tue Aug 22 11:09:03 2000 +@@ -8,7 +8,7 @@ + require 'nmzdoc' + + class Namazu +- def unpack_w(wstring) ++ def Namazu.unpack_w(wstring) + if RUBY_VERSION >= '1.5.4' + wstring.unpack('w*') + else +@@ -27,7 +27,9 @@ + results + end + end +- module_function(:unpack_w) ++ def unpack_w(wstring) ++ Namazu.unpack_w(wstring) ++ end + + class Field + def initialize(nmzindex, fieldname) diff --git a/japanese/rbnamazu/pkg-comment b/japanese/rbnamazu/pkg-comment new file mode 100644 index 000000000000..946476d26426 --- /dev/null +++ b/japanese/rbnamazu/pkg-comment @@ -0,0 +1 @@ +A client of the "Namazu" full-text search engine written in Ruby diff --git a/japanese/rbnamazu/pkg-descr b/japanese/rbnamazu/pkg-descr new file mode 100644 index 000000000000..2be45c75e8ef --- /dev/null +++ b/japanese/rbnamazu/pkg-descr @@ -0,0 +1,8 @@ +rbnamazu is a client of the "Namazu" full-text search engine written +in Ruby. + +With this, you can do a Namazu search from a Ruby script. + + +Author: Ryunosuke Ohshima <ryu@jaist.ac.jp> +WWW: http://www.namazu.org/ruby-namazu/index.html.en diff --git a/japanese/rbnamazu/pkg-plist b/japanese/rbnamazu/pkg-plist new file mode 100644 index 000000000000..a3454a2526d6 --- /dev/null +++ b/japanese/rbnamazu/pkg-plist @@ -0,0 +1,9 @@ +bin/rbnamazu +lib/ruby/site_ruby/%%RUBY_VER%%/nmzdoc.rb +lib/ruby/site_ruby/%%RUBY_VER%%/nmzqr.rb +lib/ruby/site_ruby/%%RUBY_VER%%/nmzqr.tab.rb +lib/ruby/site_ruby/%%RUBY_VER%%/rbnamazu.rb +share/doc/ruby/rbnamazu/ja/rbnamazu.html.ja +share/doc/ruby/rbnamazu/rbnamazu.html.en +@dirrm share/doc/ruby/rbnamazu/ja +@dirrm share/doc/ruby/rbnamazu |