Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 20:00:39 +0200 (CEST)
From:      Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64948: [NEW PORT] textproc/xmlpull: Common API for XML Pull Parsing (XmlPull)
Message-ID:  <200403301800.i2UI0dbZ044440@arabica.esil.univ-mrs.fr>
Resent-Message-ID: <200403301810.i2UIACa4041646@freefall.freebsd.org>

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

>Number:         64948
>Category:       ports
>Synopsis:       [NEW PORT] textproc/xmlpull: Common API for XML Pull Parsing (XmlPull)
>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:   Tue Mar 30 10:10:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Herve Quiroz
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Fri Feb 27 11:36:17 CET 2004
>Description:
Common API for XML Pull Parsing (XmlPull) is an effort to define a simple and
elegant pull parsing API that will provide a standardized way to do pull XML
parsing from J2ME to J2EE.

It is a minimalist API: very easy to implement standalone or on top of existing
parser. The API allows both fast high level iteration (using next() method) and
low level tokenizing (using nextToken() token) and is designed for easy
building on top of it SAX, XML pull parsers that uses iterators with event
objects, or even DOM implementations. To support J2ME and real small
implementation parsing of DOCDECL is optional (but DOCDECL can be reported if
requested).

The aim is to provide a similar but orthogonal pull parsing basis to widely
successful push parsing SAX API. The XmlPull API is in public domain in hope
that it will be embraced by Java developers (conformance tests are under LGPL
license to minimize risk of incompatible implementations).

WWW:	http://www.xmlpull.org

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- xmlpull-1.1.3.4a.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:
#
#	xmlpull
#	xmlpull/pkg-descr
#	xmlpull/Makefile
#	xmlpull/distinfo
#
echo c - xmlpull
mkdir -p xmlpull > /dev/null 2>&1
echo x - xmlpull/pkg-descr
sed 's/^X//' >xmlpull/pkg-descr << 'END-of-xmlpull/pkg-descr'
XCommon API for XML Pull Parsing (XmlPull) is an effort to define a simple and
Xelegant pull parsing API that will provide a standardized way to do pull XML
Xparsing from J2ME to J2EE.
X
XIt is a minimalist API: very easy to implement standalone or on top of existing
Xparser. The API allows both fast high level iteration (using next() method) and
Xlow level tokenizing (using nextToken() token) and is designed for easy
Xbuilding on top of it SAX, XML pull parsers that uses iterators with event
Xobjects, or even DOM implementations. To support J2ME and real small
Ximplementation parsing of DOCDECL is optional (but DOCDECL can be reported if
Xrequested).
X
XThe aim is to provide a similar but orthogonal pull parsing basis to widely
Xsuccessful push parsing SAX API. The XmlPull API is in public domain in hope
Xthat it will be embraced by Java developers (conformance tests are under LGPL
Xlicense to minimize risk of incompatible implementations).
X
XWWW:	http://www.xmlpull.org
END-of-xmlpull/pkg-descr
echo x - xmlpull/Makefile
sed 's/^X//' >xmlpull/Makefile << 'END-of-xmlpull/Makefile'
X# New ports collection makefile for:	xmlpull
X# Date created:		2004-03-30
X# Whom:			Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmlpull
XPORTVERSION=	1.1.3.4a
XCATEGORIES=	textproc java
XMASTER_SITES=	http://www.xmlpull.org/v1/download/
XDISTNAME=	${DISTNAME_PREFX}_src
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	herve.quiroz@esil.univ-mrs.fr
XCOMMENT=	Common API for XML Pull Parsing (XmlPull)
X
XUSE_JAVA=	1.3+
XDISTNAME_PREFX=	${PORTNAME}_${PORTVERSION:S/./_/g}
XWRKSRC=		${WRKDIR}/${DISTNAME_PREFX}
X
XANT?=		${LOCALBASE}/bin/ant
XANT_TARGET=	jar
X.if !defined(NOPORTDOCS)
XANT_TARGET+=	javadoc
XPORTDOCS=	ABOUT.txt README_DOWNLOAD.html THANKS.txt addons.html \
X		api_impl build.txt changes.html faq.html features.html \
X		javadoc_stylesheet.css properties.html quick_intro.html \
X		quick_write.html run.txt
X.endif
XJARFILE=	${DISTNAME_PREFX}.jar
XDESTJARFILE=	${PORTNAME}.jar
XPLIST_FILES+=	${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE}
X
Xdo-build:
X	@cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
X
Xdo-install:
X	@${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
X	@${CP} ${WRKSRC}/build/lib/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
X	@${ECHO_CMD} " [ DONE ]"
X.if !defined(NOPORTDOCS)
X	@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
X	@${MKDIR} ${DOCSDIR}
X.for DOCFILE in ${PORTDOCS}
X	@${CP} -r ${WRKSRC}/doc/${DOCFILE} ${DOCSDIR}/
X	@${ECHO_CMD} -n " ${DOCFILE}"
X.endfor
X	@${ECHO_CMD} " [ DONE ]"
X.endif
X
X.include <bsd.port.mk>
END-of-xmlpull/Makefile
echo x - xmlpull/distinfo
sed 's/^X//' >xmlpull/distinfo << 'END-of-xmlpull/distinfo'
XMD5 (xmlpull_1_1_3_4a_src.tgz) = 777cb6c9f732ba6de60d480ebdfede3a
XSIZE (xmlpull_1_1_3_4a_src.tgz) = 130319
END-of-xmlpull/distinfo
exit
--- xmlpull-1.1.3.4a.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?200403301800.i2UI0dbZ044440>