Updated diffstat to 1.61 (#1096)

* Updated diffstat to 1.61

* Fixed diffstat docdir issue
This commit is contained in:
Scott McCreary
2017-01-20 21:22:59 -08:00
committed by waddlesplash
parent bca353cc61
commit 5591fee04a
3 changed files with 49 additions and 23 deletions

View File

@@ -1,22 +0,0 @@
DESCRIPTION="Display a histogram of diff changes"
HOMEPAGE="http://invisible-island.net/diffstat/diffstat.html"
SOURCE_URI="ftp://invisible-island.net/diffstat/diffstat-1.51.tgz"
CHECKSUM_MD5="a7d3fd1ba2a9a6c9e2b32e867b5e8792"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd diffstat-1.51
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd diffstat-1.51
make install DESTDIR="${DESTDIR}"
}
LICENSE="Diffstat"
COPYRIGHT="1994-2009 Thomas E. Dickey"

View File

@@ -0,0 +1,48 @@
SUMMARY="Display a histogram of diff changes"
DESCRIPTION="Reads the output of diff and displays a histogram of the \
insertions, deletions, and modifications per-file. It is useful for \
reviewing large, complex files."
HOMEPAGE="http://invisible-island.net/diffstat/diffstat.html"
SOURCE_URI="ftp://invisible-island.net/diffstat/diffstat-1.61.tgz"
LICENSE="Diffstat"
COPYRIGHT="1994-2016 Thomas E. Dickey"
REVISION="1"
CHECKSUM_SHA256="25359e0c27183f997b36c9202583b5dc2df390c20e22a92606af4bf7856a55ee"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
diffstat = $portVersion
cmd:diffstat = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
cmd:diff
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
"
BUILD()
{
runConfigure --omit-dirs docDir ./configure
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
make install
}
TEST()
{
make check
}

View File

@@ -1,5 +1,5 @@
Copyright 1994-2008,2009 by Thomas E. Dickey
Copyright 1994-2015,2016 by Thomas E. Dickey
All Rights Reserved.
Permission to use, copy, modify, and distribute this software and its