summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-26 20:40:38 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-26 20:40:38 +0000
commit9f42acbb24a042e4be410a4320d535aa3ccb5999 (patch)
tree45bc2271bf8390882a31eab2353d0b0286b06da2 /textproc
parentInitial import of zh-tocps version 1.0. (diff)
Initial import of diffstat version 1.27.
Make a histogram summarizing 'diff' output. PR: 14479 Submitted by: Trevor Johnson <trevor@jpj.net>
Notes
Notes: svn path=/head/; revision=23406
Diffstat (limited to 'textproc')
-rw-r--r--textproc/diffstat/Makefile26
-rw-r--r--textproc/diffstat/distinfo1
-rw-r--r--textproc/diffstat/files/patch-aa11
-rw-r--r--textproc/diffstat/files/patch-ab11
-rw-r--r--textproc/diffstat/pkg-comment1
-rw-r--r--textproc/diffstat/pkg-descr9
-rw-r--r--textproc/diffstat/pkg-plist1
7 files changed, 60 insertions, 0 deletions
diff --git a/textproc/diffstat/Makefile b/textproc/diffstat/Makefile
new file mode 100644
index 000000000000..44276639a1da
--- /dev/null
+++ b/textproc/diffstat/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: diffstat
+# Version required: 1.27
+# Date created: Oct 23, 1999
+# Whom: Trevor Johnson <trevor@jpj.net>
+#
+# $FreeBSD$
+#
+
+DISTNAME= diffstat-1.27
+CATEGORIES= textproc devel
+MASTER_SITES= ftp://ftp.clark.net/pub/dickey/diffstat/ \
+ http://www.clark.net/pub/dickey/diffstat/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= trevor@jpj.net
+
+MAKEFILE= makefile
+GNU_CONFIGURE= yes
+#USE_AUTOCONF= yes
+
+MAN1= diffstat.1
+
+post-install:
+ strip -s ${PREFIX}/bin/diffstat
+
+.include <bsd.port.mk>
diff --git a/textproc/diffstat/distinfo b/textproc/diffstat/distinfo
new file mode 100644
index 000000000000..f5f3fd7d6e1f
--- /dev/null
+++ b/textproc/diffstat/distinfo
@@ -0,0 +1 @@
+MD5 (diffstat-1.27.tgz) = b5e37dbfe50a4d5988885e2279cccffc
diff --git a/textproc/diffstat/files/patch-aa b/textproc/diffstat/files/patch-aa
new file mode 100644
index 000000000000..b3ef8a695fa6
--- /dev/null
+++ b/textproc/diffstat/files/patch-aa
@@ -0,0 +1,11 @@
+--- configure.in.orig Fri Jan 16 17:29:21 1998
++++ configure.in Fri Oct 22 21:56:59 1999
+@@ -18,7 +18,7 @@
+ AC_CONST
+ AC_STDC_HEADERS
+ AC_HAVE_HEADERS(stdlib.h unistd.h)
+-AC_HAVE_HEADERS(getopt.h string.h malloc.h)
++AC_HAVE_HEADERS(string.h)
+ AC_TYPE_SIZE_T
+
+ ### output makefile and config.h
diff --git a/textproc/diffstat/files/patch-ab b/textproc/diffstat/files/patch-ab
new file mode 100644
index 000000000000..917390300f77
--- /dev/null
+++ b/textproc/diffstat/files/patch-ab
@@ -0,0 +1,11 @@
+--- configure.orig Fri Jan 16 17:33:25 1998
++++ configure Fri Oct 22 21:57:52 1999
+@@ -1103,7 +1103,7 @@
+ fi
+ done
+
+-for ac_hdr in getopt.h string.h malloc.h
++for ac_hdr in string.h
+ do
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/textproc/diffstat/pkg-comment b/textproc/diffstat/pkg-comment
new file mode 100644
index 000000000000..1a87478922cf
--- /dev/null
+++ b/textproc/diffstat/pkg-comment
@@ -0,0 +1 @@
+Make a histogram summarizing "diff" output
diff --git a/textproc/diffstat/pkg-descr b/textproc/diffstat/pkg-descr
new file mode 100644
index 000000000000..d8950b762dcd
--- /dev/null
+++ b/textproc/diffstat/pkg-descr
@@ -0,0 +1,9 @@
+This program takes the output of "diff" and makes an ASCII graph
+showing how many lines were inserted, deleted, or changed in the
+files that were compared. It can interpret unified or context
+diffs, or the default format generated by "diff".
+
+WWW: http://www.clark.net/pub/dickey/diffstat/diffstat.html
+
+Trevor Johnson
+trevor@jpj.net
diff --git a/textproc/diffstat/pkg-plist b/textproc/diffstat/pkg-plist
new file mode 100644
index 000000000000..a1275bfa8b4d
--- /dev/null
+++ b/textproc/diffstat/pkg-plist
@@ -0,0 +1 @@
+bin/diffstat