New port: ruby-diff

This is a ruby library, implements Algorithm::Diff of Perl.  This library
is needed for aswiki, which will be commited later.

Reviewed by:	kuriyama, knu
This commit is contained in:
Makoto Matsushita 2003-06-14 14:23:21 +00:00
parent d4937a2cbe
commit 3548b99839
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82983
5 changed files with 36 additions and 0 deletions

View file

@ -348,6 +348,7 @@
SUBDIR += ruby-amatch
SUBDIR += ruby-amrita
SUBDIR += ruby-csv
SUBDIR += ruby-diff
SUBDIR += ruby-format
SUBDIR += ruby-formvalidator
SUBDIR += ruby-gdome

View file

@ -0,0 +1,22 @@
# New ports collection makefile for: ruby-diff
# Date created: 13 June 2003
# Whom: Makoto Matsushita <matusita@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= diff
PORTVERSION= 0.4
CATEGORIES= textproc ruby
MASTER_SITES= http://www.rubynet.org/mirrors/diff/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= matusita@FreeBSD.org
COMMENT= Ruby implementation of Perl's Algorithm::Diff
USE_RUBY= YES
USE_RUBY_SETUP= YES
RUBY_SETUP= install.rb
.include <bsd.port.mk>

View file

@ -0,0 +1 @@
MD5 (ruby/diff-0.4.tar.gz) = 3e832de40dc1866dddc64978fe67e4c8

View file

@ -0,0 +1,10 @@
The diff algorithm computes the differences between two arrays of elements,
like the unix program "diff". diff.rb is a Ruby conversion of the Perl's
Algorithm::Diff. It can diff Arrays by each element or Strings by each
character, or your own class if you implement the interface. The algorithm
is complete, stable (TestUnit test available), but the interface may change
before a 1.0 release.
-- excerpt from RAA (Ruby Application Archive)
WWW: http://www.rubynet.org/mirrors/diff/

View file

@ -0,0 +1,2 @@
%%RUBY_SITELIBDIR%%/algorithm/diff.rb
@dirrm %%RUBY_SITELIBDIR%%/algorithm