thanks Jeremie Courreges-Anglas for tracking down failures with regression tests. Patchutils is a small collection of programs that operate on patch files. Interdiff: generate incremental patch from two patches against common source Combinediff: generate single patch from two incremental patches Filterdiff: separate patches applying to files matching a wildcard Fixcvsdiff: corrects output of 'cvs diff' Rediff/Editdiff: corrects hand-edited patches Lsdiff: identify files affected by a patch file Splitdiff: separates patches from a patch file 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
39 lines
807 B
Makefile
39 lines
807 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/20 17:06:31 sthen Exp $
|
|
|
|
COMMENT= small tools to operate on patch files
|
|
|
|
DISTNAME= patchutils-0.3.3
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
CATEGORIES= textproc devel
|
|
|
|
HOMEPAGE= http://cyberelk.net/tim/software/patchutils/
|
|
|
|
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += c
|
|
|
|
MASTER_SITES= http://cyberelk.net/tim/data/patchutils/stable/
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= devel/gpatch
|
|
TEST_DEPENDS= misc/rpm
|
|
TEST_FLAGS= PATCH=${LOCALBASE}/bin/gpatch
|
|
USE_GROFF= Yes
|
|
|
|
# only needed for tests
|
|
USE_GMAKE= Yes
|
|
|
|
SEPARATE_BUILD= Yes
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ARGS+= --with-patch=${LOCALBASE}/bin/gpatch
|
|
|
|
pre-test:
|
|
perl -pi -e "s|/bin/echo -ne '\\\t'|printf '\\\t'|" \
|
|
${WRKSRC}/tests/flip*/run-test
|
|
|
|
.include <bsd.port.mk>
|