ports/73895: New port: csv2xml -- A csv to xml converter
Jacob Rhoden
jacob at rhoden.id.au
Sat Nov 13 12:40:25 UTC 2004
>Number: 73895
>Category: ports
>Synopsis: New port: csv2xml -- A csv to xml converter
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 13 12:40:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Jacob Rhoden
>Release: 5.3-RELEASE
>Organization:
Dominoid Software
>Environment:
FreeBSD magna.dominoid.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Sun Aug 1 00:43:45 GMT 2004 jacob at magna.dominoid.org:/usr/obj/usr/src/sys/MAGNA2 i386
>Description:
A new port to convert csv2xml, no dependancies and very simple source so should work on any FreeBSD system. (Tested on 5.2.1-RELEASE and 5.3-RELEASE)
>How-To-Repeat:
# 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:
#
# port
# port/distinfo
# port/Makefile
# port/pkg-descr
# port/pkg-plist
# port/pkg-message
#
echo c - port
mkdir -p port > /dev/null 2>&1
echo x - port/distinfo
sed 's/^X//' >port/distinfo << 'END-of-port/distinfo'
XMD5 (csv2xml-0.5.tar.gz) = 41f0fabce015a7515b8f831142f982a4
XSIZE (csv2xml-0.5.tar.gz) = 4069
END-of-port/distinfo
echo x - port/Makefile
sed 's/^X//' >port/Makefile << 'END-of-port/Makefile'
X# New ports collection makefile for: csv2xml
X# Date created: 13 November 2004
X# Whom: Jacob Rhoden <jacob at dominoid.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= csv2xml
XPORTVERSION= 0.5
XCATEGORIES= textproc
XMASTER_SITES= http://csv2xml.sourceforge.net/
X
XMAINTAINER= jacob at dominoid.org
XCOMMENT= A simple but effective csv to xml converter
X
XMAN1= csv2xml.1
XMANCOMPRESSED= yes
X
X.include <bsd.port.mk>
END-of-port/Makefile
echo x - port/pkg-descr
sed 's/^X//' >port/pkg-descr << 'END-of-port/pkg-descr'
Xcsv2xml - A csv to xml converter
X
XAs the name suggest, csv2xml is a simple csv to xml converter. It
Xreads csv files from standard input, and output a valid xml file
Xon standard output. csv2xml is great if your client asks you to
Xresend a data file as xml, no need to modify your scripts, or for
Xwhen you have a large csv file and you would like to be able to
Xview/edit it with your favourite xml utility.
X
XWWW: http://csv2xml.sourceforge.net
END-of-port/pkg-descr
echo x - port/pkg-plist
sed 's/^X//' >port/pkg-plist << 'END-of-port/pkg-plist'
Xbin/csv2xml
Xman/man1/csv2xml.1.gz
END-of-port/pkg-plist
echo x - port/pkg-message
sed 's/^X//' >port/pkg-message << 'END-of-port/pkg-message'
X------------------------------------------------
Xcsv2xml has been installed into
X /usr/local/bin/csv2xml
X
XFor help using csv2xml check out the man pages
Xor go to the official web-site at:
X
Xhttp://csv2xml.sourceforge.net/
X------------------------------------------------
XIf you have any problems or find any bugs, email
X jacob at dominoid.org
X------------------------------------------------
END-of-port/pkg-message
exit
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list