Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Feb 2006 23:30:05 -0500 (EST)
From:      Paul Chvostek <paul+ports@it.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Paul Chvostek <paul+ports@it.ca>
Subject:   ports/92947: New port: textproc/xmldiff - display meaningful differences between xml files
Message-ID:  <200602070430.k174U5jt030376@mail.it.ca>
Resent-Message-ID: <200602070730.k177U5GM066806@freefall.freebsd.org>

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

>Number:         92947
>Category:       ports
>Synopsis:       New port: textproc/xmldiff - display meaningful differences between xml files
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 07 07:30:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Paul Chvostek
>Release:        FreeBSD 5.4-RELEASE-p6 i386
>Organization:
>Environment:
System: FreeBSD mail.it.ca 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #0: Sun Aug 21 18:50:49 EDT 2005 paul@kanar.int.it.ca:/usr/obj/usr/src/sys/kanar i386


	
>Description:
	xmldiff uses xmlprpr and diff to display meaningful differences in xml
	files in an easy to read format. Output formats available include html,
	ansi colour, and regular diff. The coloured modes are particularly
	useful for viewing small differences in context within large xml files.
	Requires perl, xmlprpr, and diff.

	Note to commiter: this port depends on textproc/xmlprpr was submitted
	recently, which perhaps should be committed first.

>How-To-Repeat:
	n/a
>Fix:

	

--- xmldiff-0.01.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:
#
#	xmldiff
#	xmldiff/Makefile
#	xmldiff/distinfo
#	xmldiff/pkg-descr
#	xmldiff/files
#	xmldiff/files/patch-aa
#
echo c - xmldiff
mkdir -p xmldiff > /dev/null 2>&1
echo x - xmldiff/Makefile
sed 's/^X//' >xmldiff/Makefile << 'END-of-xmldiff/Makefile'
X# New ports collection makefile for:	xmldiff
X# Date created:		Sun Oct  9 10:33:37 EDT 2005
X# Whom:			Paul Chvostek <paul+ports@it.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmldiff
XPORTVERSION=	0.01
XCATEGORIES=	textproc
XMASTER_SITES=	http://software.decisionsoft.com/software/ \
X		http://www.it.ca/~paul/src/
XDISTNAME=	${PORTNAME}
XEXTRACT_SUFX=	.pl
XEXTRACT_ONLY=	# defined
X
XMAINTAINER=	paul+ports@it.ca
XCOMMENT=	Display meaningful differences between XML files
X
XRUN_DEPENDS=	xmlprpr:${PORTSDIR}/textproc/xmlprpr
X
XUSE_PERL5=	yes
X
XNO_WRKSUBDIR=	yes
X
XPLIST_FILES=	bin/xmldiff
X
Xpre-patch:
X	@${SED} '1s:^#!/usr/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/xmldiff
X
Xdo-build:
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/xmldiff ${PREFIX}/bin/
X
X.include <bsd.port.mk>
END-of-xmldiff/Makefile
echo x - xmldiff/distinfo
sed 's/^X//' >xmldiff/distinfo << 'END-of-xmldiff/distinfo'
XMD5 (xmldiff.pl) = e51781dea77a3a35e5f981dcf17a033a
XSIZE (xmldiff.pl) = 2976
END-of-xmldiff/distinfo
echo x - xmldiff/pkg-descr
sed 's/^X//' >xmldiff/pkg-descr << 'END-of-xmldiff/pkg-descr'
Xxmldiff uses xmlprpr and diff to display meaningful differences in xml
Xfiles in an easy to read format. Output formats available include html,
Xansi colour, and regular diff. The coloured modes are particularly
Xuseful for viewing small differences in context within large xml files.
XRequires perl, xmlprpr, and diff. 
X
XCopyright (c) 2003, DecisionSoft Limited
XAll rights reserved.
X
X- Paul Chvostek <paul+ports@it.ca>
X
XWWW: http://software.decisionsoft.com/tools.html
END-of-xmldiff/pkg-descr
echo c - xmldiff/files
mkdir -p xmldiff/files > /dev/null 2>&1
echo x - xmldiff/files/patch-aa
sed 's/^X//' >xmldiff/files/patch-aa << 'END-of-xmldiff/files/patch-aa'
X--- xmldiff.orig	Sun Oct  9 11:59:04 2005
X+++ xmldiff	Sun Oct  9 11:59:37 2005
X@@ -7,12 +7,12 @@
X # 
X 
X #
X-# xmldiff: xmldiff program - uses xmlpp
X+# xmldiff: xmldiff program - uses xmlprpr
X #
X 
X #Change this if xmlpp is not in your current path
X #for example: $XMLPP = "./xmlpp";
X-$XMLPP = "xmlpp";
X+$XMLPP = "xmlprpr";
X 
X # older versions of less don't support -R, consider -r instead
X my $pagerCmd = ' | less -R ';
END-of-xmldiff/files/patch-aa
exit
--- xmldiff-0.01.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?200602070430.k174U5jt030376>