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/ruby-sary/Makefile | |
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/ruby-sary/Makefile')
-rw-r--r-- | textproc/ruby-sary/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
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" |