diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2001-07-08 15:08:24 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2001-07-08 15:08:24 +0000 |
commit | d18d5e4026bec491ee74b25232ef13b2a227e439 (patch) | |
tree | 205843a5ed9a20f6d8a286673a1627ab5ccebb20 /textproc | |
parent | 43d3403a7f8ecdc9b52d0b65fb09d0accddf2670 (diff) | |
download | ports-d18d5e4026bec491ee74b25232ef13b2a227e439.tar.gz ports-d18d5e4026bec491ee74b25232ef13b2a227e439.zip |
Initial import of pardiff-0.9.3.
Pardiff is a program that takes the output of diff and displays it in a
parallel (side-by-side) format, emulating the /PARALLEL option on the VMS
version of diff.
PR: 28813
Submitted by: Anders Nordby <anders@fix.no>
Notes
Notes:
svn path=/head/; revision=44923
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/pardiff/Makefile | 20 | ||||
-rw-r--r-- | textproc/pardiff/distinfo | 1 | ||||
-rw-r--r-- | textproc/pardiff/files/patch-pardiff-pardiff.c | 20 | ||||
-rw-r--r-- | textproc/pardiff/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/pardiff/pkg-descr | 10 | ||||
-rw-r--r-- | textproc/pardiff/pkg-plist | 2 |
7 files changed, 55 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index ba6d1daeb49b..cb0aaa887053 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -133,6 +133,7 @@ SUBDIR += p5-dTemplate SUBDIR += p5-libxml SUBDIR += par + SUBDIR += pardiff SUBDIR += perl2html SUBDIR += pspell SUBDIR += pspell-ispell diff --git a/textproc/pardiff/Makefile b/textproc/pardiff/Makefile new file mode 100644 index 000000000000..81c383762388 --- /dev/null +++ b/textproc/pardiff/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: pardiff +# Date created: 08 July 2001 +# Whom: Anders Nordby <anders@fix.no> +# +# $FreeBSD$ +# + +PORTNAME= pardiff +PORTVERSION= 0.9.3 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pardiff + +MAINTAINER= anders@fix.no + +GNU_CONFIGURE= yes + +MAN1= pardiff.1 diffp.1 + +.include <bsd.port.mk> diff --git a/textproc/pardiff/distinfo b/textproc/pardiff/distinfo new file mode 100644 index 000000000000..51e0a7a2b315 --- /dev/null +++ b/textproc/pardiff/distinfo @@ -0,0 +1 @@ +MD5 (pardiff-0.9.3.tar.gz) = 88d4568156e07930d571ee0bcf634d6d diff --git a/textproc/pardiff/files/patch-pardiff-pardiff.c b/textproc/pardiff/files/patch-pardiff-pardiff.c new file mode 100644 index 000000000000..0d7049379656 --- /dev/null +++ b/textproc/pardiff/files/patch-pardiff-pardiff.c @@ -0,0 +1,20 @@ +--- pardiff/pardiff.c.orig Sat Jul 7 07:54:35 2001 ++++ pardiff/pardiff.c Sun Jul 8 15:30:10 2001 +@@ -23,7 +23,7 @@ + + /* include files to determine the width of the output terminal */ + #include <fcntl.h> +-#include <termio.h> ++#include <sys/ttycom.h> + + + #else +@@ -314,7 +314,7 @@ + * Preprocess lines to get a consistent EOL + */ + if (convertCrlf) { +- line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE); ++ line_len = strlen(nextline); + if (line_len > 2 && nextline[line_len - 2] == 0xd) { + nextline[line_len - 2] = '\n'; + nextline[line_len - 1] = '\0'; diff --git a/textproc/pardiff/pkg-comment b/textproc/pardiff/pkg-comment new file mode 100644 index 000000000000..af3423b3d37e --- /dev/null +++ b/textproc/pardiff/pkg-comment @@ -0,0 +1 @@ +Parallelizing diff Filter, converts diff output to paralleled format diff --git a/textproc/pardiff/pkg-descr b/textproc/pardiff/pkg-descr new file mode 100644 index 000000000000..196f7f58f678 --- /dev/null +++ b/textproc/pardiff/pkg-descr @@ -0,0 +1,10 @@ +Pardiff is a program that takes the output of diff and displays it in a +parallel (side-by-side) format, emulating the /PARALLEL option on the VMS +version of diff. + +Pardiff detects the width of the terminal on which it is running and adjusts +its output accordingly. + +WWW: http://pardiff.sourceforge.net/ + +- Anders Nordby <anders@fix.no> diff --git a/textproc/pardiff/pkg-plist b/textproc/pardiff/pkg-plist new file mode 100644 index 000000000000..5deba282c42e --- /dev/null +++ b/textproc/pardiff/pkg-plist @@ -0,0 +1,2 @@ +bin/pardiff +bin/diffp |