ports/92946: New port: print/xmlprpr - XML Pretty Printer
Paul Chvostek
paul+ports at it.ca
Tue Feb 7 07:30:06 UTC 2006
>Number: 92946
>Category: ports
>Synopsis: New port: print/xmlprpr - XML Pretty Printer
>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:04 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 at kanar.int.it.ca:/usr/obj/usr/src/sys/kanar i386
>Description:
An XML pretty printer created to format xml that doesn't make use of
mixed content. In the default mode each element is put on a separate
line with consistent indentation. It can also separate attributes onto
individual lines, sort attributes in a specified or alphabetic order,
expand self closing tags, and more.
>How-To-Repeat:
n/a
>Fix:
--- xmlprpr-1.32.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:
#
# xmlprpr
# xmlprpr/pkg-descr
# xmlprpr/distinfo
# xmlprpr/Makefile
#
echo c - xmlprpr
mkdir -p xmlprpr > /dev/null 2>&1
echo x - xmlprpr/pkg-descr
sed 's/^X//' >xmlprpr/pkg-descr << 'END-of-xmlprpr/pkg-descr'
XAn XML pretty printer created to format xml that doesn't make use of
Xmixed content. In the default mode each element is put on a separate
Xline with consistent indentation. It can also separate attributes onto
Xindividual lines, sort attributes in a specified or alphabetic order,
Xexpand self closing tags, and more.
X
Xxmlprpr uses only perl core modules, and hence will run on most operating
Xsystems that have perl installed including Linux and Windows.
X
XNote that the distribution calls this tool "xmlpp", but it has been
Xrenamed so as not to conflict with an xmlpp already in the ports tree.
X
XCopyright (c) 2003, DecisionSoft Limited
XAll rights reserved.
X
X- Paul Chvostek <paul+ports at it.ca>
X
XWWW: http://software.decisionsoft.com/tools.html
END-of-xmlprpr/pkg-descr
echo x - xmlprpr/distinfo
sed 's/^X//' >xmlprpr/distinfo << 'END-of-xmlprpr/distinfo'
XMD5 (xmlpp.pl) = ea353effc32e136ddd05b345fa0f757a
XSIZE (xmlpp.pl) = 9466
END-of-xmlprpr/distinfo
echo x - xmlprpr/Makefile
sed 's/^X//' >xmlprpr/Makefile << 'END-of-xmlprpr/Makefile'
X# New ports collection makefile for: xmlprpr
X# Date created: Sun Oct 9 10:33:37 EDT 2005
X# Whom: Paul Chvostek <paul+ports at it.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME= xmlprpr
XPORTVERSION= 1.32
XCATEGORIES= textproc
XMASTER_SITES= http://software.decisionsoft.com/software/
XDISTNAME= xmlpp
XEXTRACT_SUFX= .pl
XEXTRACT_ONLY= # defined
X
XMAINTAINER= paul+ports at it.ca
XCOMMENT= XML pretty printer
X
XUSE_PERL5= yes
X
XNO_WRKSUBDIR= yes
X
XPLIST_FILES= bin/xmlprpr
X
Xpre-patch:
X @${SED} '1s:^#!/usr/bin/perl:#!${PERL}:' < ${_DISTDIR}${DISTFILES} > ${WRKSRC}/xmlprpr
X
Xdo-build:
X
Xdo-install:
X @${INSTALL_SCRIPT} ${WRKSRC}/xmlprpr ${PREFIX}/bin/
X
X.include <bsd.port.mk>
END-of-xmlprpr/Makefile
exit
--- xmlprpr-1.32.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list