ports/65066: [NEW PORT] textproc/xpp3: MXP1: Xml Pull Parser 3rd Edition (XPP3)

Herve Quiroz herve.quiroz at esil.univ-mrs.fr
Sat Apr 3 16:30:20 UTC 2004


The following reply was made to PR ports/65066; it has been noted by GNATS.

From: Herve Quiroz <herve.quiroz at esil.univ-mrs.fr>
To: freebsd-gnats-submit at FreeBSD.org
Cc: znerd at FreeBSD.org
Subject: Re: ports/65066: [NEW PORT] textproc/xpp3: MXP1: Xml Pull Parser 3rd Edition (XPP3)
Date: Sat, 3 Apr 2004 18:28:19 +0200

 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 at 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 at 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
 



More information about the freebsd-ports-bugs mailing list