Bug 183084 - [PATCH] change textproc/cdiff upstream to a new one.
Summary: [PATCH] change textproc/cdiff upstream to a new one.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-18 15:40 UTC by Mathieu Arnold
Modified: 2013-10-18 20:23 UTC (History)
1 user (show)

See Also:


Attachments
cdiff-0.9.3,1.patch (6.74 KB, patch)
2013-10-18 15:40 UTC, Mathieu Arnold
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Arnold freebsd_committer freebsd_triage 2013-10-18 15:40:00 UTC
This cdiff seems to work very nicely, and has a few new things like changing
the diff to be side by side, see https://github.com/ymattw/cdiff.

Fix: Tested on redports.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-18 16:09:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-10-18 19:48:06 UTC
Author: mat
Date: Fri Oct 18 18:47:57 2013
New Revision: 330766
URL: http://svnweb.freebsd.org/changeset/ports/330766

Log:
  Change upstream to a new shinier one.
  
  (And take maintainership.)
  
  PR:		ports/183084
  Submitted by:	mat
  Approved by:	garga (maintainer)

Added:
  head/textproc/cdiff/distinfo   (contents, props changed)
  head/textproc/cdiff/pkg-plist   (contents, props changed)
Deleted:
  head/textproc/cdiff/src/
Modified:
  head/textproc/cdiff/Makefile
  head/textproc/cdiff/pkg-descr

Modified: head/textproc/cdiff/Makefile
==============================================================================
--- head/textproc/cdiff/Makefile	Fri Oct 18 18:36:59 2013	(r330765)
+++ head/textproc/cdiff/Makefile	Fri Oct 18 18:47:57 2013	(r330766)
@@ -2,29 +2,19 @@
 # $FreeBSD$
 
 PORTNAME=	cdiff
-PORTVERSION=	1.5
+PORTVERSION=	0.9.3
+PORTEPOCH=	1
 CATEGORIES=	textproc
-MASTER_SITES=	# none
-DISTFILES=	# none
 
-MAINTAINER=	garga@FreeBSD.org
+MAINTAINER=	mat@FreeBSD.org
 COMMENT=	Diff readability enhancer for color terminals
 
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
-USES=		perl5
+USE_GITHUB=
+GH_ACCOUNT=	ymattw
+GH_TAGNAME=	0.9.3
+GH_COMMIT=	423551f
 
-SRC=		${.CURDIR}/src
-
-MAN1=		cdiff.1
-PLIST_FILES=	bin/cdiff
-
-NO_STAGE=	yes
-do-fetch:
-	@${DO_NADA}
-
-do-install:
-	@${INSTALL_SCRIPT} ${SRC}/cdiff.sh ${PREFIX}/bin/cdiff
-	@${INSTALL_MAN} ${SRC}/cdiff.1 ${PREFIX}/man/man1
+USE_PYTHON=
+USE_PYDISTUTILS=	yes
 
 .include <bsd.port.mk>

Added: head/textproc/cdiff/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/cdiff/distinfo	Fri Oct 18 18:47:57 2013	(r330766)
@@ -0,0 +1,2 @@
+SHA256 (cdiff-0.9.3.tar.gz) = 3081c7fcd1eaacfda60614544b9db8930aa09945e44343e2435914c825dc8730
+SIZE (cdiff-0.9.3.tar.gz) = 29237

Modified: head/textproc/cdiff/pkg-descr
==============================================================================
--- head/textproc/cdiff/pkg-descr	Fri Oct 18 18:36:59 2013	(r330765)
+++ head/textproc/cdiff/pkg-descr	Fri Oct 18 18:47:57 2013	(r330766)
@@ -1,4 +1,5 @@
-cdiff is a readability enhancer for context diffs
-and unified diffs on color terminals.
+Term based tool to view colored, incremental diff in a Git/Mercurial/Svn
+workspace or from stdin, with side by side and auto pager support. Requires
+python (>= 2.5.0) and less.
 
-It uses less(1) as a backend.
+WWW: https://github.com/ymattw/cdiff

Added: head/textproc/cdiff/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/cdiff/pkg-plist	Fri Oct 18 18:47:57 2013	(r330766)
@@ -0,0 +1,4 @@
+bin/cdiff
+%%PYTHON_SITELIBDIR%%/cdiff.py
+%%PYTHON_SITELIBDIR%%/cdiff.pyc
+%%PYTHON_SITELIBDIR%%/cdiff.pyo
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Mathieu Arnold freebsd_committer freebsd_triage 2013-10-18 19:54:46 UTC
Responsible Changed
From-To: garga->mat

Take
Comment 4 Mathieu Arnold freebsd_committer freebsd_triage 2013-10-18 20:23:40 UTC
State Changed
From-To: open->closed

Committed, thanks!