summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2002-07-14 13:55:46 +0000
committerAnton Berezin <tobez@FreeBSD.org>2002-07-14 13:55:46 +0000
commitd6c57c4e61a225f1b2282e8bceff3e67da5e869b (patch)
tree9b711b3cf0a7e6b2b43a05fc738d304b947fc40e /textproc
parentAdd xemacs-devel, xemacs-devel-mule. (diff)
Add p5-Text-Diff, a perl module to perform diffs on files and record
sets.
Notes
Notes: svn path=/head/; revision=62925
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Diff/Makefile25
-rw-r--r--textproc/p5-Text-Diff/distinfo1
-rw-r--r--textproc/p5-Text-Diff/pkg-comment1
-rw-r--r--textproc/p5-Text-Diff/pkg-descr10
-rw-r--r--textproc/p5-Text-Diff/pkg-plist7
6 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 46df5972d8b1..f24c26c7715d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -172,6 +172,7 @@
SUBDIR += p5-Text-Bind
SUBDIR += p5-Text-CSV
SUBDIR += p5-Text-CSV_XS
+ SUBDIR += p5-Text-Diff
SUBDIR += p5-Text-DoubleMetaphone
SUBDIR += p5-Text-EtText
SUBDIR += p5-Text-FillIn
diff --git a/textproc/p5-Text-Diff/Makefile b/textproc/p5-Text-Diff/Makefile
new file mode 100644
index 000000000000..11a81208287e
--- /dev/null
+++ b/textproc/p5-Text-Diff/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: textproc/p5-Text-Diff
+# Date created: 14 July 2002
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Diff
+PORTVERSION= 0.34
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Text
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::Diff.3 Text::Diff::Table.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Diff/distinfo b/textproc/p5-Text-Diff/distinfo
new file mode 100644
index 000000000000..fcc444fad393
--- /dev/null
+++ b/textproc/p5-Text-Diff/distinfo
@@ -0,0 +1 @@
+MD5 (Text-Diff-0.34.tar.gz) = 20d752be3387573ea072b3e93cad76b5
diff --git a/textproc/p5-Text-Diff/pkg-comment b/textproc/p5-Text-Diff/pkg-comment
new file mode 100644
index 000000000000..1ba92b74ab7a
--- /dev/null
+++ b/textproc/p5-Text-Diff/pkg-comment
@@ -0,0 +1 @@
+Text::Diff - Perform diffs on files and record sets
diff --git a/textproc/p5-Text-Diff/pkg-descr b/textproc/p5-Text-Diff/pkg-descr
new file mode 100644
index 000000000000..39634091a882
--- /dev/null
+++ b/textproc/p5-Text-Diff/pkg-descr
@@ -0,0 +1,10 @@
+Text::Diff provides a basic set of services akin to the diff(1) utility.
+It is not anywhere near as feature complete as diff(1), but it is better
+integrated with Perl and available on all platforms. It is often faster
+than shelling out to a system's diff(1) executable for small files, and
+generally slower on larger files.
+
+WWW: http://search.cpan.org/search?dist=Text-Diff
+
+-Anton
+<tobez@FreeBSD.org>
diff --git a/textproc/p5-Text-Diff/pkg-plist b/textproc/p5-Text-Diff/pkg-plist
new file mode 100644
index 000000000000..09cf96e27f0b
--- /dev/null
+++ b/textproc/p5-Text-Diff/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Diff/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Text/Diff/Table.pm
+lib/perl5/site_perl/%%PERL_VER%%/Text/Diff.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Diff
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Text/Diff
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Text 2>/dev/null || true