mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
74 lines
2.2 KiB
Bash
74 lines
2.2 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-2013 Tim Waugh"
|
||
LICENSE="GNU GPL v2"
|
||
REVISION="1"
|
||
SOURCE_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz"
|
||
CHECKSUM_SHA256="91f4e8451b2efcac5d40c966e42c175803450f0de94c926bfecc12c90070ad3c"
|
||
|
||
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||
|
||
PROVIDES="
|
||
patchutils = $portVersion compat >= 0
|
||
cmd:combinediff = $portVersion compat >= 0
|
||
cmd:filterdiff = $portVersion compat >= 0
|
||
cmd:fixcvsdiff = $portVersion compat >= 0
|
||
cmd:rediff = $portVersion compat >= 0
|
||
cmd:lsdiff = $portVersion compat >= 0
|
||
cmd:splitdiff = $portVersion compat >= 0
|
||
cmd:grepdiff = $portVersion compat >= 0
|
||
cmd:recountdiff = $portVersion compat >= 0
|
||
cmd:unwrapdiff = $portVersion compat >= 0
|
||
cmd:interdiff = $portVersion compat >= 0
|
||
cmd:dehtmldiff = $portVersion compat >= 0
|
||
cmd:flipdiff = $portVersion compat >= 0
|
||
cmd:espdiff = $portVersion compat >= 0
|
||
cmd:editdiff = $portVersion compat >= 0
|
||
"
|
||
REQUIRES="
|
||
haiku
|
||
cmd:perl
|
||
cmd:diff
|
||
cmd:patch
|
||
"
|
||
|
||
BUILD_REQUIRES="
|
||
haiku_devel
|
||
"
|
||
BUILD_PREREQUIRES="
|
||
cmd:gcc
|
||
cmd:make
|
||
cmd:perl
|
||
cmd:awk
|
||
"
|
||
|
||
BUILD()
|
||
{
|
||
runConfigure ./configure
|
||
make
|
||
}
|
||
|
||
INSTALL()
|
||
{
|
||
make install
|
||
}
|