diff options
author | mef <mef@pkgsrc.org> | 2015-03-09 14:49:24 +0000 |
---|---|---|
committer | mef <mef@pkgsrc.org> | 2015-03-09 14:49:24 +0000 |
commit | b4c12b5f58bde3207942665fce0e60c2cf55eb94 (patch) | |
tree | 78a59f21a80d1d722c5494438df56530c938cd1f /textproc | |
parent | f29d67ace7822204444f6445a0a2881325206ce0 (diff) | |
download | pkgsrc-b4c12b5f58bde3207942665fce0e60c2cf55eb94.tar.gz |
Import cwdiff-0.2.6 as textproc/cwdiff.
cwdiff is a part of cj-overlay, and it has three modes, with
(textproc/) wdiff, diff, or without them, stand alone.
With wdiff or diff, it wraps output of those commands to
support directories and colorize the output.
cwdiff -h or cwdiff --help
will tell you how to use it, and command line examples.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/cwdiff/DESCR | 8 | ||||
-rw-r--r-- | textproc/cwdiff/Makefile | 25 | ||||
-rw-r--r-- | textproc/cwdiff/PLIST | 3 | ||||
-rw-r--r-- | textproc/cwdiff/distinfo | 6 | ||||
-rw-r--r-- | textproc/cwdiff/patches/patch-cwdiff | 15 |
5 files changed, 57 insertions, 0 deletions
diff --git a/textproc/cwdiff/DESCR b/textproc/cwdiff/DESCR new file mode 100644 index 00000000000..37b9104d5ab --- /dev/null +++ b/textproc/cwdiff/DESCR @@ -0,0 +1,8 @@ +cwdiff is a part of cj-overlay, and it has three modes, with +(textproc/) wdiff, diff, or without them, stand alone. + +With wdiff or diff, it wraps output of those commands to +support directories and colorize the output. + + cwdiff -h or cwdiff --help +will tell you how to use it, and command line examples. diff --git a/textproc/cwdiff/Makefile b/textproc/cwdiff/Makefile new file mode 100644 index 00000000000..25c5e58ae04 --- /dev/null +++ b/textproc/cwdiff/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2015/03/09 14:49:24 mef Exp $ + +DISTNAME= cwdiff-0.2.6 +CATEGORIES= textproc +MASTER_SITES= http://cj-overlay.googlecode.com/files/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://code.google.com/p/cj-overlay/ +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} hgrc.d/cwdiff.rc ${DESTDIR}${PREFIX}/${INSTALLATION_DIRS} ;\ + ) + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/cwdiff/PLIST b/textproc/cwdiff/PLIST new file mode 100644 index 00000000000..347f49fc352 --- /dev/null +++ b/textproc/cwdiff/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2015/03/09 14:49:24 mef Exp $ +bin/cwdiff +share/examples/cwdiff/cwdiff.rc diff --git a/textproc/cwdiff/distinfo b/textproc/cwdiff/distinfo new file mode 100644 index 00000000000..5fb9e750eba --- /dev/null +++ b/textproc/cwdiff/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2015/03/09 14:49:24 mef Exp $ + +SHA1 (cwdiff-0.2.6.tar.gz) = 883638981c28885efd136d9ca554d4b9da63d332 +RMD160 (cwdiff-0.2.6.tar.gz) = ce046183e9aa2cb1c348f7787db8f01d07bce006 +Size (cwdiff-0.2.6.tar.gz) = 3762 bytes +SHA1 (patch-cwdiff) = 6bb6fcbad51ff6f4ce92b4769abb506e782d8a4b diff --git a/textproc/cwdiff/patches/patch-cwdiff b/textproc/cwdiff/patches/patch-cwdiff new file mode 100644 index 00000000000..0c1fdd134d4 --- /dev/null +++ b/textproc/cwdiff/patches/patch-cwdiff @@ -0,0 +1,15 @@ +$NetBSD: patch-cwdiff,v 1.1 2015/03/09 14:49:24 mef Exp $ + +Correct typo + +--- cwdiff.orig 2015-03-09 23:29:16.000000000 +0900 ++++ cwdiff 2015-03-09 23:29:31.000000000 +0900 +@@ -78,7 +78,7 @@ + $usage + + OPTIONS: +--f, --filter Act as a wdiff color filter only and don't excute diff/wdiff ++-f, --filter Act as a wdiff color filter only and don't execute diff/wdiff + internally, just colorize input (no ARGS = read from stdin) + -d, --diff Preprocess input with diff and before giving it to wdiff + (very useful for dirs). Option can be used in combination |