88 lines
2.5 KiB
Bash
88 lines
2.5 KiB
Bash
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="1"
|
||
SOURCE_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-$portVersion.tar.xz"
|
||
CHECKSUM_SHA256="8875b0965fe33de62b890f6cd793be7fafe41a4e552edbf641f1fed5ebbf45ed"
|
||
|
||
ARCHITECTURES="all"
|
||
|
||
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:gitdiff = $portVersion compat >= 0
|
||
cmd:gitdiffview = $portVersion compat >= 0
|
||
cmd:grepdiff = $portVersion compat >= 0
|
||
cmd:interdiff = $portVersion compat >= 0
|
||
cmd:lsdiff = $portVersion compat >= 0
|
||
cmd:patchview = $portVersion compat >= 0
|
||
cmd:recountdiff = $portVersion compat >= 0
|
||
cmd:rediff = $portVersion compat >= 0
|
||
cmd:splitdiff = $portVersion compat >= 0
|
||
cmd:svndiff = $portVersion compat >= 0
|
||
cmd:svndiffview = $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
|
||
cmd:sed
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
AUTOCONF=: AUTOHEADER=: AUTOMAKE=: ACLOCAL=: runConfigure ./configure
|
||
make
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
make install
|
||
}
|
||
|
||
TEST()
|
||
{
|
||
make check
|
||
}
|