Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2004 22:58:59 +0400 (MSD)
From:      oc@nm.ru
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/67304: New Port: textproc/mini-xml Lightweight XML parsing library
Message-ID:  <20040528185859.EA4EDE7@vzh.ik>
Resent-Message-ID: <200405281910.i4SJAEdD002855@freefall.freebsd.org>

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

>Number:         67304
>Category:       ports
>Synopsis:       New Port: textproc/mini-xml Lightweight XML parsing library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 28 12:10:13 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Osintsev Vladimir
>Release:        FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD vzh.ik 5.2-RELEASE FreeBSD 5.2-RELEASE #16: Tue Jan 13 15:03:09 MSK 2004 root@vzh.ik:/usr/obj/usr/src/sys/CUSTOM i386

>Description:

Mini-XML is a small XML parsing library that you can use to
read XML and XML-like data files in your application without
requiring large non-standard libraries.  Mini-XML only
requires an ANSI C compatible compiler (GCC works, as do
most vendors' ANSI C compilers) and a "make" program.

Mini-XML provides the following functionality:

	- Reading of UTF-8 and UTF-16 and writing of UTF-8
	  encoded XML files and strings.
	- Data is stored in a linked-list tree structure,
	  preserving the XML data hierarchy.
	- Supports arbitrary element names, attributes, and
	  attribute values with no preset limits, just available
	  memory.
	- Supports integer, real, opaque ("cdata"), and text
	  data types in "leaf" nodes.
	- Functions for creating and managing trees of data.
	- "Find" and "walk" functions for easily locating and
	  navigating trees of data.

>How-To-Repeat:
>Fix:

# 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:
#
#	mini-xml/Makefile
#	mini-xml/distinfo
#	mini-xml/files
#	mini-xml/pkg-descr
#	mini-xml/pkg-plist
#
echo x - mini-xml/Makefile
sed 's/^X//' >mini-xml/Makefile << 'END-of-mini-xml/Makefile'
X# New ports collection makefile for:	mini-xml
X# Date created:				01 Jan 2004
X# Whom:					Vladimir Osintsev <oc@nm.ru>
X# $FreeBSD$
X
XPORTNAME=	mini-xml
XPORTVERSION=	2.0rc1
XCATEGORIES=	textproc
XMASTER_SITES=	http://www.easysw.com/~mike/mxml/swfiles/
XDISTNAME=	mxml-${PORTVERSION}
X
XMAINTAINER=	oc@nm.ru
XCOMMENT=	Lightweight XML parsing library
X
XGNU_CONFIGURE=	yes
X
XMAN1= 		mxmldoc.1
XMAN3=		mxml.3
X
X.include <bsd.port.pre.mk>
X
Xpost-install:
X	${INSTALL_MAN} ${WRKSRC}/doc/mxmldoc.man \
X		${MAN1PREFIX}/man/man1/${MAN1}
X	${INSTALL_MAN} ${WRKSRC}/doc/mxml.man \
X		${MAN3PREFIX}/man/man3/${MAN3}
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/doc/mxml.pdf ${DOCSDIR}
X	${INSTALL_MAN} ${WRKSRC}/doc/mxml.html ${DOCSDIR}
X.for SN in README COPYING CHANGES test.xml
X		${INSTALL_MAN} ${WRKSRC}/${SN} ${DOCSDIR}
X.endfor
X	${MKDIR} ${DOCSDIR}/samples
X.for SN in class enum function struct
X		${INSTALL_MAN} ${WRKSRC}/test/${SN}.cxx \
X			${DOCSDIR}/samples/${SN}.cxx
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-mini-xml/Makefile
echo x - mini-xml/distinfo
sed 's/^X//' >mini-xml/distinfo << 'END-of-mini-xml/distinfo'
XMD5 (mxml-2.0rc1.tar.gz) = f3f3e2c55c0cd7f725f8600b7da86a15
XSIZE (mxml-2.0rc1.tar.gz) = 725395
END-of-mini-xml/distinfo
echo c - mini-xml/files
mkdir -p mini-xml/files > /dev/null 2>&1
echo x - mini-xml/pkg-descr
sed 's/^X//' >mini-xml/pkg-descr << 'END-of-mini-xml/pkg-descr'
XMini-XML is a small XML parsing library that you can use to
Xread XML and XML-like data files in your application without
Xrequiring large non-standard libraries.  Mini-XML only
Xrequires an ANSI C compatible compiler (GCC works, as do
Xmost vendors' ANSI C compilers) and a "make" program.
X
XMini-XML provides the following functionality:
X
X	- Reading of UTF-8 and UTF-16 and writing of UTF-8
X	  encoded XML files and strings.
X	- Data is stored in a linked-list tree structure,
X	  preserving the XML data hierarchy.
X	- Supports arbitrary element names, attributes, and
X	  attribute values with no preset limits, just available
X	  memory.
X	- Supports integer, real, opaque ("cdata"), and text
X	  data types in "leaf" nodes.
X	- Functions for creating and managing trees of data.
X	- "Find" and "walk" functions for easily locating and
X	  navigating trees of data.
X
XWWW: http://www.easysw.com/~mike/mxml
X
X- Michael Sweet
Xmxml@easysw.com
END-of-mini-xml/pkg-descr
echo x - mini-xml/pkg-plist
sed 's/^X//' >mini-xml/pkg-plist << 'END-of-mini-xml/pkg-plist'
Xbin/mxmldoc
Xinclude/mxml.h
Xlib/libmxml.a
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/CHANGES
X%%PORTDOCS%%%%DOCSDIR%%/mxml.html
X%%PORTDOCS%%%%DOCSDIR%%/mxml.pdf
X%%PORTDOCS%%%%DOCSDIR%%/test.xml
X%%PORTDOCS%%%%DOCSDIR%%/samples/class.cxx
X%%PORTDOCS%%%%DOCSDIR%%/samples/enum.cxx
X%%PORTDOCS%%%%DOCSDIR%%/samples/function.cxx
X%%PORTDOCS%%%%DOCSDIR%%/samples/struct.cxx
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/samples
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/
END-of-mini-xml/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



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