SUMMARY="A small collection of programs that operate on patch files" DESCRIPTION="The collection of tools include: - Interdiff generates an incremental patch from two patches against a common \ source. - Combinediff generates a single patch from two incremental patches, allowing \ you to merge patches together. - Filterdiff will select the portions of a patch file that apply to files \ matching (or, alternatively, not matching) a shell wildcard. - Fixcvsdiff is for correcting the output of ‘cvs diff’. - Rediff corrects hand-edited patches, by comparing the original patch with the \ modified one and adjusting the offsets and counts. - Lsdiff displays a short listing of affected files in a patch file, along with \ (optionally) the line numbers of the start of each patch. - Splitdiff separates out patches from a patch file so that each new patch file \ only alters any given file once. - Grepdiff displays a list of the files modified by a patch where the patch \ contains a given regular expression. - Recountdiff fixes up counts and offsets in a unified diff. - Unwrapdiff fixes word-wrapped unified diffs." HOMEPAGE="http://cyberelk.net/tim/patchutils/" COPYRIGHT="2001-2015 Tim Waugh" LICENSE="GNU GPL v2" REVISION="2" SOURCE_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-$portVersion.tar.xz" CHECKSUM_SHA256="cf55d4db83ead41188f5b6be16f60f6b76a87d5db1c42f5459d596e81dabe876" ARCHITECTURES="x86 x86_gcc2 x86_64" PROVIDES=" patchutils = $portVersion compat >= 0 cmd:combinediff = $portVersion compat >= 0 cmd:dehtmldiff = $portVersion compat >= 0 cmd:editdiff = $portVersion compat >= 0 cmd:espdiff = $portVersion compat >= 0 cmd:filterdiff = $portVersion compat >= 0 cmd:fixcvsdiff = $portVersion compat >= 0 cmd:flipdiff = $portVersion compat >= 0 cmd:grepdiff = $portVersion compat >= 0 cmd:interdiff = $portVersion compat >= 0 cmd:lsdiff = $portVersion compat >= 0 cmd:recountdiff = $portVersion compat >= 0 cmd:rediff = $portVersion compat >= 0 cmd:splitdiff = $portVersion compat >= 0 cmd:unwrapdiff = $portVersion compat >= 0 " REQUIRES=" haiku cmd:diff cmd:patch cmd:perl " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" cmd:awk cmd:cmp cmd:diff cmd:gcc cmd:make cmd:patch cmd:perl " BUILD() { runConfigure ./configure make } INSTALL() { make install } TEST() { make check }