diff options
author | obache <obache> | 2008-03-01 08:30:48 +0000 |
---|---|---|
committer | obache <obache> | 2008-03-01 08:30:48 +0000 |
commit | 9031bd9d8d92a9c010f2a04267862c6ae35d50df (patch) | |
tree | b690328fc57569ed6df8378ee2fa20939735ecb6 /textproc | |
parent | 786980b8a24fddda5b2364b2dc110bf5b3d05c06 (diff) | |
download | pkgsrc-9031bd9d8d92a9c010f2a04267862c6ae35d50df.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.
Diffstat (limited to 'textproc')
-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 |