1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/textproc/xpp3/Makefile
Mark Linimon fc09118e13 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/

PR:		ports/65066
Submitted by:	Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
2004-04-04 18:03:12 +00:00

55 lines
1.4 KiB
Makefile

# New ports collection makefile for: xpp3
# Date created: 2004-04-02
# Whom: Herve Quiroz <root@arabica.esil.univ-mrs.fr>
#
# $FreeBSD$
#
PORTNAME= xpp3
PORTVERSION= 1.1.3.4d.b4
CATEGORIES= textproc java
MASTER_SITES= http://www.extreme.indiana.edu/dist/java-repository/xpp3/distributions/
DISTNAME= ${DISTNAME_PREFX}_src
EXTRACT_SUFX= .tgz
MAINTAINER= herve.quiroz@esil.univ-mrs.fr
COMMENT= XML Pull Parser 3rd Edition (XPP3)
BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant
USE_JAVA= yes
JAVA_VERSION= 1.3+
DISTNAME_PREFX= ${PORTNAME}-${PORTVERSION:S/d.b/d_b/g}
WRKSRC= ${WRKDIR}/${DISTNAME_PREFX}
ANT?= ${LOCALBASE}/bin/ant
ANT_TARGET= jar
.if !defined(NOPORTDOCS)
ANT_TARGET+= javadoc
PORTDOCS= api_impl ABOUT.txt THANKS.txt TODO.html build.txt changes.html faq.html
.endif
JARFILE= ${DISTNAME_PREFX}.jar
DESTJARFILE= ${PORTNAME}.jar
PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE}
do-build:
@cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
do-install:
@${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..."
@${MKDIR} ${JAVAJARDIR}
@${CP} ${WRKSRC}/build/lib/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE}
@${ECHO_CMD} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${DOCSDIR}
.for DOCFILE in ${PORTDOCS}
@${CP} -r ${WRKSRC}/doc/${DOCFILE} ${DOCSDIR}/
@${ECHO_CMD} -n " ${DOCFILE}"
.endfor
@${ECHO_CMD} " [ DONE ]"
.endif
.include <bsd.port.mk>