summaryrefslogtreecommitdiff
path: root/devel/patchutils/Makefile
blob: becf9c139ca3d5d1a89344e9df4fe2a725b3e2fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.30 2022/06/30 11:18:16 nia Exp $

DISTNAME=		patchutils-0.4.2
PKGREVISION=		3
CATEGORIES=		devel
MASTER_SITES=		http://cyberelk.net/tim/data/patchutils/stable/
EXTRACT_SUFX=		.tar.xz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://cyberelk.net/tim/software/patchutils/
COMMENT=		Some programs for manipulating patch files
LICENSE=		gnu-gpl-v2

DEPENDS+=		patch-[0-9]*:../../devel/patch
#  WARNING: xmlto not available so not building doc
BUILD_DEPENDS+=		xmlto-[0-9]*:../../textproc/xmlto

USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		perl:run
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-patch=${PREFIX}/bin/gpatch

REPLACE_PYTHON+=	patchview/gitdiff

CHECK_PORTABILITY_SKIP+= tests/rediff2/run-test
REPLACE_BASH+=		scripts/editdiff.in scripts/espdiff.in
USE_TOOLS+=		bash:run

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"