Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2017 08:55:17 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437399 - head/textproc/cdif
Message-ID:  <201704010855.v318tH6Z046594@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Apr  1 08:55:16 2017
New Revision: 437399
URL: https://svnweb.freebsd.org/changeset/ports/437399

Log:
  Update to a snapshot as of 2017/04/01.

Modified:
  head/textproc/cdif/Makefile
  head/textproc/cdif/distinfo
  head/textproc/cdif/pkg-descr

Modified: head/textproc/cdif/Makefile
==============================================================================
--- head/textproc/cdif/Makefile	Sat Apr  1 08:50:08 2017	(r437398)
+++ head/textproc/cdif/Makefile	Sat Apr  1 08:55:16 2017	(r437399)
@@ -1,27 +1,35 @@
 # Created by: Yoshiro MIHIRA <sanpei@sanpei.org>
 # $FreeBSD$
 
-PORTNAME=		cdif
-PORTVERSION=		1.19
-CATEGORIES=		textproc
-MASTER_SITES=		LOCAL/sanpei
-EXTRACT_SUFX=		# empty
+PORTNAME=	cdif
+PORTVERSION=	2.14.20170401
+DISTVERSIONPREFIX=	v
+CATEGORIES=	textproc
+
+MAINTAINER=	hrs@FreeBSD.org
+COMMENT=	Word context visualizer of DIFF output
+
+LICENSE=	GREPLE
+LICENSE_NAME=	GREPLE License
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-MAINTAINER=		ports@FreeBSD.org
-COMMENT=		Word context diff
+RUN_DEPENDS=	${SITE_PERL}/Getopt/EX.pm:devel/p5-Getopt-EX
 
 USES=		perl5 shebangfix
-SHEBANG_FILES=	${DISTNAME}
-
-NO_WRKSUBDIR=		yes
-NO_BUILD=		yes
-
+SHEBANG_FILES=	${PORTNAME}
+USE_GITHUB=	yes
+GH_ACCOUNT=	kaz-utashiro
+GH_TAGNAME=	2f4de90
+NO_BUILD=	yes
+NO_ARCH=	yes
 PLIST_FILES=	bin/cdif
 
-do-extract:
-	${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${DISTNAME}
+post-extract:
+	cd ${WRKSRC} && \
+	    ${SED} -n "/^# COPYRIGHT/,//p" README.md > LICENSE
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/cdif
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/cdif
 
 .include <bsd.port.mk>

Modified: head/textproc/cdif/distinfo
==============================================================================
--- head/textproc/cdif/distinfo	Sat Apr  1 08:50:08 2017	(r437398)
+++ head/textproc/cdif/distinfo	Sat Apr  1 08:55:16 2017	(r437399)
@@ -1,2 +1,3 @@
-SHA256 (cdif-1.19) = 1b11fd4fd06680f9563dbd58c9bcecf8317d4f4633028598769d930e3a487b3c
-SIZE (cdif-1.19) = 19894
+TIMESTAMP = 1491036190
+SHA256 (kaz-utashiro-cdif-v2.14.20170401-2f4de90_GH0.tar.gz) = 0396528034f54ddb22ffcdfcf925355c8f2a9426a7de6ca1c149e9e5b4ec8377
+SIZE (kaz-utashiro-cdif-v2.14.20170401-2f4de90_GH0.tar.gz) = 19118

Modified: head/textproc/cdif/pkg-descr
==============================================================================
--- head/textproc/cdif/pkg-descr	Sat Apr  1 08:50:08 2017	(r437398)
+++ head/textproc/cdif/pkg-descr	Sat Apr  1 08:55:16 2017	(r437399)
@@ -1,26 +1,11 @@
-Usage: cdif [-Bvns] [-A #] [-C #] [-D #] [-I #] [-e #] [-[bwcu]] file1 file2
-       cdif [-rcs] [-q] [-rrev1 [-rrev2]] [$myname options] file
-       cdif [$myname 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+')
-	-s	show statistical information at the end
-	-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
+cdif is a post-processor of the Unix diff command.  It highlights
+deleted, changed and added words based on word context.  You may want
+to compare character-by-character rather than word-by-word.  Option -B
+option can be used for that purpose.  If only one file is specified,
+cdif reads that file (stdin if no file) as a output from diff command.
+Lines those don't look like diff output are simply ignored and
+printed.
+
+Note that this requires fdescfs(5) mounted.
+
+WWW: https://github.com/kaz-utashiro/cdif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704010855.v318tH6Z046594>