From owner-svn-ports-head@freebsd.org Sat Apr 1 08:55:18 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5333DD288B0; Sat, 1 Apr 2017 08:55:18 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 305498D0; Sat, 1 Apr 2017 08:55:18 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v318tHaJ046597; Sat, 1 Apr 2017 08:55:17 GMT (envelope-from hrs@FreeBSD.org) Received: (from hrs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v318tH6Z046594; Sat, 1 Apr 2017 08:55:17 GMT (envelope-from hrs@FreeBSD.org) Message-Id: <201704010855.v318tH6Z046594@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hrs set sender to hrs@FreeBSD.org using -f From: Hiroki Sato Date: Sat, 1 Apr 2017 08:55:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437399 - head/textproc/cdif X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 08:55:18 -0000 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 # $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 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