From 3548b99839d81918605e09228f20037a530c5ef3 Mon Sep 17 00:00:00 2001 From: Makoto Matsushita Date: Sat, 14 Jun 2003 14:23:21 +0000 Subject: 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 --- textproc/ruby-diff/Makefile | 22 ++++++++++++++++++++++ textproc/ruby-diff/distinfo | 1 + textproc/ruby-diff/pkg-descr | 10 ++++++++++ textproc/ruby-diff/pkg-plist | 2 ++ 4 files changed, 35 insertions(+) create mode 100644 textproc/ruby-diff/Makefile create mode 100644 textproc/ruby-diff/distinfo create mode 100644 textproc/ruby-diff/pkg-descr create mode 100644 textproc/ruby-diff/pkg-plist (limited to 'textproc/ruby-diff') diff --git a/textproc/ruby-diff/Makefile b/textproc/ruby-diff/Makefile new file mode 100644 index 000000000000..8c0c22b82f3b --- /dev/null +++ b/textproc/ruby-diff/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: ruby-diff +# Date created: 13 June 2003 +# Whom: Makoto Matsushita +# +# $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 diff --git a/textproc/ruby-diff/distinfo b/textproc/ruby-diff/distinfo new file mode 100644 index 000000000000..36bee2b43325 --- /dev/null +++ b/textproc/ruby-diff/distinfo @@ -0,0 +1 @@ +MD5 (ruby/diff-0.4.tar.gz) = 3e832de40dc1866dddc64978fe67e4c8 diff --git a/textproc/ruby-diff/pkg-descr b/textproc/ruby-diff/pkg-descr new file mode 100644 index 000000000000..9385ea90271b --- /dev/null +++ b/textproc/ruby-diff/pkg-descr @@ -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/ diff --git a/textproc/ruby-diff/pkg-plist b/textproc/ruby-diff/pkg-plist new file mode 100644 index 000000000000..eff858dc7926 --- /dev/null +++ b/textproc/ruby-diff/pkg-plist @@ -0,0 +1,2 @@ +%%RUBY_SITELIBDIR%%/algorithm/diff.rb +@dirrm %%RUBY_SITELIBDIR%%/algorithm -- cgit v1.2.3