summaryrefslogtreecommitdiff
path: root/textproc/cdif
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-03-12 09:44:29 +0000
committeritojun <itojun@pkgsrc.org>2000-03-12 09:44:29 +0000
commit1c6b06fbe40c8713ee70c69e7d28c944230d4cc9 (patch)
tree4206de0cfcfd46379a39bab2947d8e1814ba72dc /textproc/cdif
parente17fc205fab2e9b4d2fc976fedd61ecf9f8dab2d (diff)
downloadpkgsrc-1c6b06fbe40c8713ee70c69e7d28c944230d4cc9.tar.gz
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]
Diffstat (limited to 'textproc/cdif')
-rw-r--r--textproc/cdif/Makefile29
-rw-r--r--textproc/cdif/files/md53
-rw-r--r--textproc/cdif/pkg/COMMENT1
-rw-r--r--textproc/cdif/pkg/DESCR23
-rw-r--r--textproc/cdif/pkg/PLIST1
5 files changed, 57 insertions, 0 deletions
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