Bug 65066 - [NEW PORT] textproc/xpp3: MXP1: Xml Pull Parser 3rd Edition (XPP3)
Summary: [NEW PORT] textproc/xpp3: MXP1: Xml Pull Parser 3rd Edition (XPP3)
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 10:50 UTC by Hervé Quiroz
Modified: 2004-04-04 19:08 UTC (History)
0 users

See Also:


Attachments
xpp3-1.1.3.4d.b4.shar (2.96 KB, text/plain)
2004-04-02 10:50 UTC, Hervé Quiroz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hervé Quiroz 2004-04-02 10:50:18 UTC
MXP1 is a new XmlPull parsing engine that is based on ideas from XPP and in
particular XPP2 but completely revised and rewritten to take best advantage of
latest JIT JVMs such as Hotspot in JDK 1.4.

MXP1 was designed to use best available the latest and the most advanced JIT
engines such as Hotspot in JDK1.4.

MXP1 has following features:

  - fast - let me say it again it is fast :-)
  - small - lot of performance packed in JAR file that is less than 20KB!
  - easy to use - the parser implements common XML pull parsing API (XMLPULL)
    described at http://www.xmlpull.org

Performance tests that compare MXP1 to other leading XML parsers are available
at http://www.extreme.indiana.edu/~aslom/xpp_sax2bench/

WWW:	http://www.extreme.indiana.edu/soap/xpp/mxp1/

NOTE: another of the dependencies of my upcoming port: textproc/dom4j

Generated with FreeBSD Port Tools 0.50
Comment 1 Hervé Quiroz 2004-04-03 17:28:19 UTC
Some changes:

- now bsd.java.mk 2.0 compliant
- mkdir ${JAVAJARDIR} (just in case)



# 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:
#
#	xpp3
#	xpp3/pkg-descr
#	xpp3/Makefile
#	xpp3/distinfo
#
echo c - xpp3
mkdir -p xpp3 > /dev/null 2>&1
echo x - xpp3/pkg-descr
sed 's/^X//' >xpp3/pkg-descr << 'END-of-xpp3/pkg-descr'
XMXP1 is a new XmlPull parsing engine that is based on ideas from XPP and in
Xparticular XPP2 but completely revised and rewritten to take best advantage of
Xlatest JIT JVMs such as Hotspot in JDK 1.4.
X
XMXP1 was designed to use best available the latest and the most advanced JIT
Xengines such as Hotspot in JDK1.4.
X
XMXP1 has following features:
X
X  - fast - let me say it again it is fast :-)
X  - small - lot of performance packed in JAR file that is less than 20KB!
X  - easy to use - the parser implements common XML pull parsing API (XMLPULL)
X    described at http://www.xmlpull.org
X
XPerformance tests that compare MXP1 to other leading XML parsers are available
Xat http://www.extreme.indiana.edu/~aslom/xpp_sax2bench/
X
XWWW:	http://www.extreme.indiana.edu/soap/xpp/mxp1/
END-of-xpp3/pkg-descr
echo x - xpp3/Makefile
sed 's/^X//' >xpp3/Makefile << 'END-of-xpp3/Makefile'
X# New ports collection makefile for:	xpp3
X# Date created:		2004-04-02
X# Whom:			Herve Quiroz <root@arabica.esil.univ-mrs.fr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xpp3
XPORTVERSION=	1.1.3.4d.b4
XCATEGORIES=	textproc java
XMASTER_SITES=	http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/
XDISTNAME=	${DISTNAME_PREFX}_src
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	herve.quiroz@esil.univ-mrs.fr
XCOMMENT=	MXP1: Xml Pull Parser 3rd Edition (XPP3)
X
XBUILD_DEPENDS=	${ANT}:${PORTSDIR}/devel/apache-ant
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.3+
X
XDISTNAME_PREFX=	${PORTNAME}-${PORTVERSION:S/d.b/d_b/g}
XWRKSRC=		${WRKDIR}/${DISTNAME_PREFX}
X
XANT?=		${LOCALBASE}/bin/ant
XANT_TARGET=	jar
X.if !defined(NOPORTDOCS)
XANT_TARGET+=	javadoc
XPORTDOCS=	api_impl ABOUT.txt THANKS.txt TODO.html build.txt changes.html faq.html
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	@${MKDIR} ${JAVAJARDIR}
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-xpp3/Makefile
echo x - xpp3/distinfo
sed 's/^X//' >xpp3/distinfo << 'END-of-xpp3/distinfo'
XMD5 (xpp3-1.1.3.4d_b4_src.tgz) = aea178842db9ab3350c88738a9c0f545
XSIZE (xpp3-1.1.3.4d_b4_src.tgz) = 296155
END-of-xpp3/distinfo
exit
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-04-04 18:51:57 UTC
Responsible Changed
From-To: freebsd-ports-bugs->linimon

Looks java-related, so I'll take it.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-04-04 19:07:46 UTC
State Changed
From-To: open->closed

Committed, thanks.