diff options
author | pav <pav@FreeBSD.org> | 2004-04-01 15:12:51 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-04-01 15:12:51 +0000 |
commit | 7bbc29b1ff18a6ca5f748da631066563b2f4c7e5 (patch) | |
tree | adf05b27cbda486f607a279ef6a11659bb3d0652 /textproc/xmlpull/Makefile | |
parent | cfa733341ddb538eacc964c7330739b1dd6a96bf (diff) | |
download | FreeBSD-ports-7bbc29b1ff18a6ca5f748da631066563b2f4c7e5.zip FreeBSD-ports-7bbc29b1ff18a6ca5f748da631066563b2f4c7e5.tar.gz |
Add xmlpull, a 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.
WWW: http://www.xmlpull.org
PR: ports/64948
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Diffstat (limited to 'textproc/xmlpull/Makefile')
-rw-r--r-- | textproc/xmlpull/Makefile | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/textproc/xmlpull/Makefile b/textproc/xmlpull/Makefile new file mode 100644 index 0000000..d0ac6f3 --- /dev/null +++ b/textproc/xmlpull/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: xmlpull +# Date created: 2004-03-30 +# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> +# +# $FreeBSD$ +# + +PORTNAME= xmlpull +PORTVERSION= 1.1.3.4a +CATEGORIES= textproc java +MASTER_SITES= http://www.xmlpull.org/v1/download/ +DISTNAME= ${DISTNAME_PREFX}_src +EXTRACT_SUFX= .tgz + +MAINTAINER= herve.quiroz@esil.univ-mrs.fr +COMMENT= Common API for XML Pull Parsing (XmlPull) + +BUILD_DEPENDS= ${ANT}:${PORTSDIR}/devel/apache-ant + +USE_JAVA= 1.3+ +DISTNAME_PREFX= ${PORTNAME}_${PORTVERSION:S/./_/g} +WRKSRC= ${WRKDIR}/${DISTNAME_PREFX} + +ANT?= ${LOCALBASE}/bin/ant +ANT_TARGET= jar +.if !defined(NOPORTDOCS) +ANT_TARGET+= javadoc +PORTDOCS= ABOUT.txt README_DOWNLOAD.html THANKS.txt addons.html \ + api_impl build.txt changes.html faq.html features.html \ + javadoc_stylesheet.css properties.html quick_intro.html \ + quick_write.html run.txt +.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}..." + @${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> |