diff options
author | knu <knu@FreeBSD.org> | 2002-11-11 01:41:06 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-11-11 01:41:06 +0800 |
commit | 7e355b79895590db41f80b2c09bf856fe0a5cf65 (patch) | |
tree | 07e564c1ea1f2acc762541e56f22ceb4965cb287 /textproc | |
parent | dcaeadcbcd05351271cb6b2b53130ec5db01595e (diff) | |
download | freebsd-ports-gnome-7e355b79895590db41f80b2c09bf856fe0a5cf65.tar.gz freebsd-ports-gnome-7e355b79895590db41f80b2c09bf856fe0a5cf65.tar.zst freebsd-ports-gnome-7e355b79895590db41f80b2c09bf856fe0a5cf65.zip |
Add ruby-amatch, a Ruby library for approximate string matching and
searching.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/ruby-amatch/Makefile | 35 | ||||
-rw-r--r-- | textproc/ruby-amatch/distinfo | 1 | ||||
-rw-r--r-- | textproc/ruby-amatch/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/ruby-amatch/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/ruby-amatch/pkg-plist | 6 |
6 files changed, 50 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index ccaabbe5e664..943e88625a2e 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -307,6 +307,7 @@ SUBDIR += rotix SUBDIR += rtf2htm SUBDIR += rtfreader + SUBDIR += ruby-amatch SUBDIR += ruby-csv SUBDIR += ruby-erb SUBDIR += ruby-format diff --git a/textproc/ruby-amatch/Makefile b/textproc/ruby-amatch/Makefile new file mode 100644 index 000000000000..b64d86eebdfb --- /dev/null +++ b/textproc/ruby-amatch/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: Ruby/amatch +# Date created: 10 November 2002 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= amatch +PORTVERSION= 0.1.1 +CATEGORIES= textproc ruby +MASTER_SITES= http://www.ping.de/~flori/programs/ruby/amatch/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes +USE_RUBY_SETUP= yes +RUBY_SETUP= install.rb + +WRKSRC= ${WRKDIR}/${PORTNAME} +INSTALL_TARGET= site-install + +DOCS= CHANGES README.en amatch.txt.en + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/textproc/ruby-amatch/distinfo b/textproc/ruby-amatch/distinfo new file mode 100644 index 000000000000..ea457d5f1c34 --- /dev/null +++ b/textproc/ruby-amatch/distinfo @@ -0,0 +1 @@ +MD5 (ruby/amatch-0.1.1.tgz) = c5a7a9d5421ef21d22cb9c7ae8272eda diff --git a/textproc/ruby-amatch/pkg-comment b/textproc/ruby-amatch/pkg-comment new file mode 100644 index 000000000000..2dedd25d809e --- /dev/null +++ b/textproc/ruby-amatch/pkg-comment @@ -0,0 +1 @@ +A Ruby library for approximate string matching and searching diff --git a/textproc/ruby-amatch/pkg-descr b/textproc/ruby-amatch/pkg-descr new file mode 100644 index 000000000000..f7d86b4c1ece --- /dev/null +++ b/textproc/ruby-amatch/pkg-descr @@ -0,0 +1,6 @@ +This is a Ruby library for approximate string matching and searching +using a dynamic programming algorithm to compute the Levenstein +distance between strings. Written in C for speed. + +Author: Florian Frank <flori@ping.de> +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=amatch diff --git a/textproc/ruby-amatch/pkg-plist b/textproc/ruby-amatch/pkg-plist new file mode 100644 index 000000000000..4e838cff21fb --- /dev/null +++ b/textproc/ruby-amatch/pkg-plist @@ -0,0 +1,6 @@ +bin/agrep.rb +%%RUBY_SITEARCHLIBDIR%%/amatch.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README.en +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/amatch.txt.en +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |