pkgsrc/devel/colordiff/Makefile
wiz fa5b372e7a Update to 1.0.15:
Changes between version 1.0.13 and 1.0.14

Big improvements to side-by-side diff detection, thanks Peter Wu.  Additional
colordiffrc example colour scheme file to match 'git diff'.  Misc fixes thanks
to John Szakmeister, Matthew Wang.

Changes between 1.0.14 and 1.0.15

Missed gitdiff file from tarball, bumping version number for clarity.
2015-07-01 09:24:22 +00:00

38 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2015/07/01 09:24:22 wiz Exp $
DISTNAME= colordiff-1.0.15
CATEGORIES= devel
MASTER_SITES= http://www.colordiff.org/
MAINTAINER= rhansen@bbn.com
HOMEPAGE= http://www.colordiff.org/
COMMENT= Colour-highlighted 'diff' output
LICENSE= gnu-gpl-v2 OR gnu-gpl-v3
USE_LANGUAGES= # none
USE_TOOLS= perl:run
REPLACE_PERL= colordiff.pl
CONF_FILES= ${EGDIR}/colordiffrc ${PKG_SYSCONFDIR}/colordiffrc
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
do-build:
sed -e 's%/etc%${PKG_SYSCONFDIR}%g' '${WRKSRC}/colordiff.pl' \
> '${WRKSRC}/colordiff.tmp'
mv '${WRKSRC}/colordiff.tmp' '${WRKSRC}/colordiff'
do-install:
${INSTALL_SCRIPT_DIR} '${DESTDIR}${PREFIX}/bin'
${INSTALL_SCRIPT} '${WRKSRC}/colordiff' '${DESTDIR}${PREFIX}/bin'
${INSTALL_SCRIPT} '${WRKSRC}/cdiff.sh' '${DESTDIR}${PREFIX}/bin/cdiff'
${INSTALL_MAN_DIR} '${DESTDIR}${PREFIX}/${PKGMANDIR}/man1'
${INSTALL_MAN} '${WRKSRC}/colordiff.1' \
'${DESTDIR}${PREFIX}/${PKGMANDIR}/man1'
${INSTALL_MAN} '${WRKSRC}/cdiff.1' \
'${DESTDIR}${PREFIX}/${PKGMANDIR}/man1'
${INSTALL_DATA_DIR} '${DESTDIR}${EGDIR}'
${INSTALL_DATA} '${WRKSRC}/colordiffrc' '${DESTDIR}${EGDIR}'
.include "../../mk/bsd.pkg.mk"