diff options
author | gdt <gdt@pkgsrc.org> | 2010-03-03 13:40:32 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2010-03-03 13:40:32 +0000 |
commit | adda6611db717e4f53123a604e2f5e59f27f3ecf (patch) | |
tree | b59b0e17105f20ad2f27e19d953cc7f1cf4b6b6a /devel | |
parent | 2884f867910b9e70b62da5580816c0a342f2c49c (diff) | |
download | pkgsrc-adda6611db717e4f53123a604e2f5e59f27f3ecf.tar.gz |
Import colordiff-1.0.9 as devel/colordiff.
The Perl script colordiff is a wrapper for 'diff' and produces the
same output but with pretty 'syntax' highlighting. Colour schemes can
be customized.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/colordiff/DESCR | 3 | ||||
-rw-r--r-- | devel/colordiff/Makefile | 41 | ||||
-rw-r--r-- | devel/colordiff/PLIST | 6 | ||||
-rw-r--r-- | devel/colordiff/distinfo | 5 |
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/colordiff/DESCR b/devel/colordiff/DESCR new file mode 100644 index 00000000000..30308774976 --- /dev/null +++ b/devel/colordiff/DESCR @@ -0,0 +1,3 @@ +The Perl script colordiff is a wrapper for 'diff' and produces the +same output but with pretty 'syntax' highlighting. Colour schemes can +be customized. diff --git a/devel/colordiff/Makefile b/devel/colordiff/Makefile new file mode 100644 index 00000000000..b7aee64e36f --- /dev/null +++ b/devel/colordiff/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/03 13:40:32 gdt Exp $ +# + +DISTNAME= colordiff-1.0.9 +CATEGORIES= devel +MASTER_SITES= http://colordiff.sourceforge.net/ + +MAINTAINER= rhansen@bbn.com +HOMEPAGE= http://colordiff.sourceforge.net/ +COMMENT= Colour-highlighted 'diff' output +LICENSE= gnu-gpl-v2 OR gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +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" diff --git a/devel/colordiff/PLIST b/devel/colordiff/PLIST new file mode 100644 index 00000000000..c171c2c9133 --- /dev/null +++ b/devel/colordiff/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/03 13:40:32 gdt Exp $ +bin/cdiff +bin/colordiff +man/man1/cdiff.1 +man/man1/colordiff.1 +share/examples/colordiff/colordiffrc diff --git a/devel/colordiff/distinfo b/devel/colordiff/distinfo new file mode 100644 index 00000000000..58160f8b9fa --- /dev/null +++ b/devel/colordiff/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/03/03 13:40:32 gdt Exp $ + +SHA1 (colordiff-1.0.9.tar.gz) = 52aa37957660b8060b186b949de58790ba816ab8 +RMD160 (colordiff-1.0.9.tar.gz) = b736f01e4107f368a7d98468a17ff8d4cb53bdb9 +Size (colordiff-1.0.9.tar.gz) = 17845 bytes |