From 1c6b06fbe40c8713ee70c69e7d28c944230d4cc9 Mon Sep 17 00:00:00 2001 From: itojun Date: Sun, 12 Mar 2000 09:44:29 +0000 Subject: word context diff tool. Usage: cdif [-Bvn] [-A #] [-C #] [-D #] [-I #] [-[bwcu]] file1 file2 cdif [-rcs] [-q] [-rrev1 [-rrev2]] [cdif options] file cdif [cdif options] [diff-output-file] --- textproc/cdif/Makefile | 29 +++++++++++++++++++++++++++++ textproc/cdif/files/md5 | 3 +++ textproc/cdif/pkg/COMMENT | 1 + textproc/cdif/pkg/DESCR | 23 +++++++++++++++++++++++ textproc/cdif/pkg/PLIST | 1 + 5 files changed, 57 insertions(+) create mode 100644 textproc/cdif/Makefile create mode 100644 textproc/cdif/files/md5 create mode 100644 textproc/cdif/pkg/COMMENT create mode 100644 textproc/cdif/pkg/DESCR create mode 100644 textproc/cdif/pkg/PLIST (limited to 'textproc/cdif') diff --git a/textproc/cdif/Makefile b/textproc/cdif/Makefile new file mode 100644 index 00000000000..18d0e2112f3 --- /dev/null +++ b/textproc/cdif/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/03/12 09:44:29 itojun Exp $ +# + +DISTNAME= cdif-1.15 +CATEGORIES= textproc +MASTER_SITES= ftp://ftp.iij.ad.jp/pub/IIJ/dist/utashiro/perl/ +DISTFILES= ${DISTNAME} + +MAINTAINER= packages@netbsd.org + +USE_PERL5= yes + +NO_WRKSUBDIR= yes +NO_CONFIGURE= yes +NO_BUILD= yes + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}.dist + +# assumes perl is in ${LOCALBASE}/bin/perl +do-patch: + ${SED} -e '1s@/usr/local/bin/perl@${LOCALBASE}/bin/perl@' \ + < ${WRKSRC}/${DISTNAME}.dist > ${WRKSRC}/${DISTNAME} + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin/cdif + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/cdif/files/md5 b/textproc/cdif/files/md5 new file mode 100644 index 00000000000..ad06cad03e7 --- /dev/null +++ b/textproc/cdif/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/03/12 09:44:30 itojun Exp $ + +MD5 (cdif-1.15) = b3d4ebebcea5e1e85264a180178339b4 diff --git a/textproc/cdif/pkg/COMMENT b/textproc/cdif/pkg/COMMENT new file mode 100644 index 00000000000..d1deb26e370 --- /dev/null +++ b/textproc/cdif/pkg/COMMENT @@ -0,0 +1 @@ +word context diff diff --git a/textproc/cdif/pkg/DESCR b/textproc/cdif/pkg/DESCR new file mode 100644 index 00000000000..955af33ae7e --- /dev/null +++ b/textproc/cdif/pkg/DESCR @@ -0,0 +1,23 @@ +Usage: cdif [-Bvn] [-A #] [-C #] [-D #] [-I #] [-[bwcu]] file1 file2 + cdif [-rcs] [-q] [-rrev1 [-rrev2]] [cdif options] file + cdif [cdif options] [diff-output-file] +Options: + -B byte compare + -v use video standout (default for tty) + -n use nroff style overstrike (default for non-tty) + -b ignore trailing blank + -w ignore whitespace + -c[#] context diff + -u[#] unified diff (if diff has -u option) + -e # expression of `word' (default is '\w+') + -A, -C, -D (Append, Change, Delete) takes one of + vso: video standout vul: video underline + vbd: video bold bd: nroff style overstrike + ul: nroff style underline + or any sequence or sequences separated by comma + -I specify string to be shown on insertion point + Following strings have special meanings. + vbar: print vertical bar at the point + caret: print caret under the point + -diff=command + specify any diff command diff --git a/textproc/cdif/pkg/PLIST b/textproc/cdif/pkg/PLIST new file mode 100644 index 00000000000..1b41fb1e67f --- /dev/null +++ b/textproc/cdif/pkg/PLIST @@ -0,0 +1 @@ +bin/cdif -- cgit v1.2.3