From ehaupt@mx.critical.ch  Wed Jul  6 13:54:53 2005
Return-Path: <ehaupt@mx.critical.ch>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7214616A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Jul 2005 13:54:53 +0000 (GMT)
	(envelope-from ehaupt@mx.critical.ch)
Received: from mx.critical.ch (admin.critical.ch [67.18.86.178])
	by mx1.FreeBSD.org (Postfix) with SMTP id 2DE5043D48
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Jul 2005 13:54:52 +0000 (GMT)
	(envelope-from ehaupt@mx.critical.ch)
Received: (qmail 87367 invoked by uid 1000); 6 Jul 2005 13:54:51 -0000
Message-Id: <20050706135451.87366.qmail@mx.critical.ch>
Date: 6 Jul 2005 13:54:51 -0000
From: Emanuel Haupt <ehaupt@critical.ch>
Reply-To: Emanuel Haupt <ehaupt@critical.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: new port: textproc/colordiff - A tool to colorize diff output 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         83062
>Category:       ports
>Synopsis:       new port: textproc/colordiff - A tool to colorize diff output
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 14:00:37 GMT 2005
>Closed-Date:    Wed Jul 06 18:07:01 GMT 2005
>Last-Modified:  Wed Jul 06 18:07:01 GMT 2005
>Originator:     Emanuel Haupt
>Release:        FreeBSD 4.11-RELEASE-p11 i386
>Organization:
>Environment:
System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386


	
>Description:
new port: textproc/colordiff - A tool to colorize diff output

Colordiff is a wrapper for diff and produces the same output as diff but with
coloured syntax highlighting at the command line to improve readability.

The output is similar to how a diff-generated patch might appear in Vim or Emacs
with the appropriate syntax highlighting options enabled.


>How-To-Repeat:
	
>Fix:

	



--- colordiff.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	colordiff
#	colordiff/Makefile
#	colordiff/pkg-descr
#	colordiff/distinfo
#
echo c - colordiff
mkdir -p colordiff > /dev/null 2>&1
echo x - colordiff/Makefile
sed 's/^X//' >colordiff/Makefile << 'END-of-colordiff/Makefile'
X# New ports collection makefile for:	colordiff
X# Date created:				6 Jul 2005
X# Whom:					Emanuel Haupt <ehaupt@critical.ch>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	colordiff
XDISTVERSION=	1.0.5
XCATEGORIES=	textproc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	ehaupt@critical.ch
XCOMMENT=	A tool to colorize diff output
X
XUSE_PERL5=	yes
XUSE_REINPLACE=	yes
XNO_BUILD=	yes
X
XPLIST_DIRS=	%%EXAMPLESDIR%%
XPLIST_FILES=	bin/colordiff %%EXAMPLESDIR%%/colordiffrc
XMAN1=		colordiff.1
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500806
XIGNORE=		needs Perl 5.8.6 or above (lang/perl5.8)
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/usr/local/bin/perl|${PERL}|' \
X		${WRKSRC}/${PORTNAME}.pl
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
X	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/colordiffrc ${EXAMPLESDIR}
X
X.include <bsd.port.post.mk>
END-of-colordiff/Makefile
echo x - colordiff/pkg-descr
sed 's/^X//' >colordiff/pkg-descr << 'END-of-colordiff/pkg-descr'
XColordiff is a wrapper for diff and produces the same output as diff but with
Xcoloured syntax highlighting at the command line to improve readability.
X
XThe output is similar to how a diff-generated patch might appear in Vim or Emacs
Xwith the appropriate syntax highlighting options enabled.
X
XWWW: http://colordiff.sourceforge.net/
X
X- ehaupt
Xehaupt@critical.ch
END-of-colordiff/pkg-descr
echo x - colordiff/distinfo
sed 's/^X//' >colordiff/distinfo << 'END-of-colordiff/distinfo'
XMD5 (colordiff-1.0.5.tar.gz) = b8ef81a80dfa8a4c001915d03a73f7d1
XSIZE (colordiff-1.0.5.tar.gz) = 14243
END-of-colordiff/distinfo
exit
--- colordiff.shar ends here ---

>Release-Note:
>Audit-Trail:

From: Erwin Lansing <erwin@FreeBSD.org>
To: Emanuel Haupt <ehaupt@critical.ch>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/83062: new port: textproc/colordiff - A tool to colorize diff output
Date: Wed, 6 Jul 2005 17:00:26 +0200

 --8N0TQpGUCeEQshoq
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, Jul 06, 2005 at 01:54:51PM -0000, Emanuel Haupt wrote:
 
 Hej Emanuel,
 > =09
 > >Description:
 > new port: textproc/colordiff - A tool to colorize diff output
 >=20
 > Colordiff is a wrapper for diff and produces the same output as diff but =
 with
 > coloured syntax highlighting at the command line to improve readability.
 >=20
 Just checking, but this does look quite similar to textprox/cdiff. Might
 this be the same ?
 
 Cheers,
 -erwin
 
 --=20
 Erwin Lansing
 
 DISCLAIMER:
 No electrons were harmed while sending this message.
 
 --8N0TQpGUCeEQshoq
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.1 (FreeBSD)
 
 iD8DBQFCy/IIqy9aWxUlaZARAnFFAJsHKabsp4ZucY0rWc9iqqKxmDkWIgCffpIC
 qlRJAvzr8Fo1zuEjrpcPCDM=
 =Es4N
 -----END PGP SIGNATURE-----
 
 --8N0TQpGUCeEQshoq--

From: Emanuel Haupt <ehaupt@critical.ch>
To: ehaupt@critical.ch, FreeBSD-gnats-submit@FreeBSD.org
Cc: Erwin Lansing <erwin@FreeBSD.org>
Subject: Re: ports/83062: new port: textproc/colordiff - A tool to colorize
 diff output
Date: Wed, 6 Jul 2005 19:02:25 +0200

 Hi Erwin
 
 > Just checking, but this does look quite similar to textprox/cdiff.
 > Might this be the same ?
 
 Sorry, I should have pointed that out in my pr.
 
 colordiff is entirely written in perl and allows you to use all
 arguments /usr/bin/diff has. i wasn't quite happy with textprox/cdiff
 thats why i was looking for something better. compared with
 textprox/cdiff colordiff is eyecandy for your console :-)
 
 with colordiff you can even customize the colors in your ~/.colordiffrc
 
 Cheers,
 Emanuel
 
State-Changed-From-To: open->closed 
State-Changed-By: erwin 
State-Changed-When: Wed Jul 6 18:06:37 GMT 2005 
State-Changed-Why:  
Port added, Thanks! 

One nit: The second line should read PORTVERSION, not DISTVERSION. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83062 
>Unformatted:
