Skip site navigation (1)Skip section navigation (2)
Date:      6 Jul 2005 13:54:51 -0000
From:      Emanuel Haupt <ehaupt@critical.ch>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83062: new port: textproc/colordiff - A tool to colorize diff output 
Message-ID:  <20050706135451.87366.qmail@mx.critical.ch>
Resent-Message-ID: <200507061400.j66E0c1A077185@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 14:00:37 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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