Convert/update patchutils to working recipe

This commit is contained in:
Chris Roberts
2013-10-16 16:24:44 -06:00
parent 55e012c492
commit c0629f9f3a
3 changed files with 76 additions and 43 deletions

View File

@@ -1,21 +0,0 @@
DESCRIPTION="A collection of tools that operate on patch files."
HOMEPAGE="http://cyberelk.net/tim/patchutils/"
SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.1.tar.bz2"
CHECKSUM_MD5="3fd9bca58a429fbbb1c2126f1b72aa23"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd patchutils-0.3.1
./configure --prefix=`finddir B_COMMON_DIRECTORY`
make
}
INSTALL()
{
cd patchutils-0.3.1
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2009 Tim Waugh"

View File

@@ -1,22 +0,0 @@
DESCRIPTION="A collection of tools that operate on patch files."
HOMEPAGE="http://cyberelk.net/tim/patchutils/"
SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.2.tar.bz2"
CHECKSUM_MD5="74607b4a28c9009c6aeeed0e91098917"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
BUILD()
{
cd patchutils-0.3.2
./configure --prefix="$(finddir B_COMMON_DIRECTORY)" \
--mandir="$(finddir B_COMMON_DOCUMENTATION_DIRECTORY)/man"
make
}
INSTALL()
{
cd patchutils-0.3.2
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2011 Tim Waugh"

View File

@@ -0,0 +1,76 @@
SUMMARY="A small collection of programs that operate on patch files."
DESCRIPTION="
*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/"
SRC_URI="http://cyberelk.net/tim/data/patchutils/stable/patchutils-0.3.3.tar.xz"
CHECKSUM_MD5="b640b6b8af6183f83eacf7bd6d2460cb"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2013 Tim Waugh"
SOURCE_DIR="$portVersionedName"
ARCHITECTURES="x86 x86_gcc2"
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 >= $haikuVersion
cmd:perl
cmd:diff
cmd:patch
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:gcc
cmd:make
cmd:perl
"
BUILD()
{
runConfigure ./configure
make
}
INSTALL()
{
make install
}