Bug 73895 - New port: csv2xml -- A csv to xml converter
Summary: New port: csv2xml -- A csv to xml converter
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-13 12:40 UTC by Jacob
Modified: 2004-11-13 13:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob 2004-11-13 12:40:24 UTC
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@dominoid.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      csv2xml
XPORTVERSION=   0.5
XCATEGORIES=    textproc
XMASTER_SITES=  http://csv2xml.sourceforge.net/
X
XMAINTAINER=    jacob@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@dominoid.org
X------------------------------------------------
END-of-port/pkg-message
exit
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-11-13 13:26:37 UTC
State Changed
From-To: open->closed

New port added, thank you!