Initial import of diffstat version 1.27.

Make a histogram summarizing 'diff' output.

PR:		14479
Submitted by:	Trevor Johnson <trevor@jpj.net>
This commit is contained in:
Steve Price 1999-11-26 20:40:38 +00:00
parent e8159f0956
commit 9f42acbb24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23406
7 changed files with 60 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (diffstat-1.27.tgz) = b5e37dbfe50a4d5988885e2279cccffc

View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
Make a histogram summarizing "diff" output

View File

@ -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

View File

@ -0,0 +1 @@
bin/diffstat