summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-07-08 15:08:24 +0000
committerkevlo <kevlo@FreeBSD.org>2001-07-08 15:08:24 +0000
commit2d38887de5d601f53887dac8c63f61d992ea463a (patch)
treea4dd6d8d556babb102e202ed7b8a8ed72ac9e8fe /textproc
parent131e6e93ada129b9b32107d93208e22644ee9b44 (diff)
downloadFreeBSD-ports-2d38887de5d601f53887dac8c63f61d992ea463a.zip
FreeBSD-ports-2d38887de5d601f53887dac8c63f61d992ea463a.tar.gz
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>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/pardiff/Makefile20
-rw-r--r--textproc/pardiff/distinfo1
-rw-r--r--textproc/pardiff/files/patch-pardiff-pardiff.c20
-rw-r--r--textproc/pardiff/pkg-comment1
-rw-r--r--textproc/pardiff/pkg-descr10
-rw-r--r--textproc/pardiff/pkg-plist2
7 files changed, 55 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index ba6d1dae..cb0aaa8 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 0000000..81c38376
--- /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 0000000..51e0a7a
--- /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 0000000..0d70493
--- /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 0000000..af3423b
--- /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 0000000..196f7f5
--- /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 0000000..5deba28
--- /dev/null
+++ b/textproc/pardiff/pkg-plist
@@ -0,0 +1,2 @@
+bin/pardiff
+bin/diffp
OpenPOWER on IntegriCloud