summaryrefslogtreecommitdiff
path: root/textproc/cwdiff/Makefile
blob: bb568a5590c16628c84b5c77d20d131dc582c99a (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
# $NetBSD: Makefile,v 1.6 2019/11/04 21:43:34 rillig Exp $

VERSION=	0.4.0
DISTNAME=	cwdiff-${VERSION}
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_GITHUB:=junghans/}
GITHUB_TAG=	v${VERSION}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/junghans/cwdiff
COMMENT=	Color wrapper for wdiff (word diff)
LICENSE=	gnu-gpl-v2

USE_TOOLS+=	bash
NO_BUILD=	yes
REPLACE_BASH=	cwdiff

INSTALLATION_DIRS+=	share/examples/cwdiff/
AUTO_MKDIRS=		yes

do-install:
	(cd ${WRKSRC} ;\
	${INSTALL_SCRIPT} cwdiff          ${DESTDIR}${PREFIX}/bin ;\
	${INSTALL_DATA} cwdiff.rc  ${DESTDIR}${PREFIX}/${INSTALLATION_DIRS} ;\
	)

.include "../../mk/bsd.pkg.mk"