diff options
author | obache <obache@pkgsrc.org> | 2008-03-01 08:30:48 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-03-01 08:30:48 +0000 |
commit | 0ce336c990d45a4889c0b132fb5d9fa0d5a68207 (patch) | |
tree | b690328fc57569ed6df8378ee2fa20939735ecb6 | |
parent | 9243c7384100bdff27919df62f600aa19ad0947f (diff) | |
download | pkgsrc-0ce336c990d45a4889c0b132fb5d9fa0d5a68207.tar.gz |
Import ruby-sary version 1.2.0.
Sary is a suffix array library and tools. It provides fast full-text search
facilities for text files on the order of 10 to 100 MB using a data structure
called a suffix array. It can also search specific fields in a text file by
assigning index points to those fields.
This package is Ruby Binding of Sary.
-rw-r--r-- | textproc/ruby-sary/DESCR | 6 | ||||
-rw-r--r-- | textproc/ruby-sary/Makefile | 32 | ||||
-rw-r--r-- | textproc/ruby-sary/PLIST | 5 | ||||
-rw-r--r-- | textproc/ruby-sary/distinfo | 5 |
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/ruby-sary/DESCR b/textproc/ruby-sary/DESCR new file mode 100644 index 00000000000..12d7ed49779 --- /dev/null +++ b/textproc/ruby-sary/DESCR @@ -0,0 +1,6 @@ +Sary is a suffix array library and tools. It provides fast full-text search +facilities for text files on the order of 10 to 100 MB using a data structure +called a suffix array. It can also search specific fields in a text file by +assigning index points to those fields. + +This package is Ruby Binding of Sary. diff --git a/textproc/ruby-sary/Makefile b/textproc/ruby-sary/Makefile new file mode 100644 index 00000000000..02784237e2f --- /dev/null +++ b/textproc/ruby-sary/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/03/01 08:30:48 obache Exp $ +# + +DISTNAME= sary-ruby-1.2.0 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby-/-/} +CATEGORIES= textproc ruby +MASTER_SITES= http://sary.sourceforge.net/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://sary.sourceforge.net/ +COMMENT= Ruby Binding of Sary + +RUBY_HAS_ARCHLIB= yes +USE_RUBY_EXTCONF= yes + +DOCS= Reference.en.rd Reference.ja.rd + +SUBST_CLASSES+= ruby +SUBST_STAGE.ruby= post-build +SUBST_FILES.ruby= ${DOCS} +SUBST_SED.ruby= -e 's|/usr/local/bin/ruby|${RUBY}|g' + +INSTALLATION_DIRS= ${RUBY_DOCDIR}/sary + +post-install: +.for d in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${d} ${DESTDIR}${RUBY_DOCDIR}/sary +.endfor + +.include "../../lang/ruby/modules.mk" +.include "../../textproc/sary/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-sary/PLIST b/textproc/ruby-sary/PLIST new file mode 100644 index 00000000000..7122e285726 --- /dev/null +++ b/textproc/ruby-sary/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/03/01 08:30:48 obache Exp $ +${RUBY_SITEARCHLIBDIR}/sary.${RUBY_DLEXT} +${RUBY_DOCDIR}/sary/Reference.en.rd +${RUBY_DOCDIR}/sary/Reference.ja.rd +@dirrm ${RUBY_DOCDIR}/sary diff --git a/textproc/ruby-sary/distinfo b/textproc/ruby-sary/distinfo new file mode 100644 index 00000000000..a7ec46da078 --- /dev/null +++ b/textproc/ruby-sary/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/03/01 08:30:48 obache Exp $ + +SHA1 (sary-ruby-1.2.0.tar.gz) = 18ad1c8a1d095dbaa99efbb4a040e77a58b9df08 +RMD160 (sary-ruby-1.2.0.tar.gz) = f35602bea532138b87c6d77b08dbc71f7ebddc41 +Size (sary-ruby-1.2.0.tar.gz) = 9155 bytes |