diff options
author | glewis <glewis@FreeBSD.org> | 2003-12-15 16:49:25 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-12-15 16:49:25 +0000 |
commit | 6ac2c9610bbf4be12ffa8654f6a8b079dcd23fab (patch) | |
tree | f87fefa63ab385c815a904889b2dbfcb1f5f50a2 /java | |
parent | 0fae473343e9f46928f266ba0fa3bdc57c02605c (diff) | |
download | FreeBSD-ports-6ac2c9610bbf4be12ffa8654f6a8b079dcd23fab.zip FreeBSD-ports-6ac2c9610bbf4be12ffa8654f6a8b079dcd23fab.tar.gz |
Add a port of jaxen:
The Jaxen project is a Java XPath Engine. jaxen is a universal object model
walker, capable of evaluating XPath expressions across multiple models.
Currently supported are dom4j and JDOM .
Jaxen provides a single point for XPath expression evaluation, regardless of
the target object model, whether its dom4j, JDOM, DOM, JavaBeans, or whatnot.
WWW: http://jaxen.org
PR: 60085
Submitted by: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
Diffstat (limited to 'java')
-rw-r--r-- | java/Makefile | 1 | ||||
-rw-r--r-- | java/jaxen/Makefile | 45 | ||||
-rw-r--r-- | java/jaxen/distinfo | 1 | ||||
-rw-r--r-- | java/jaxen/pkg-descr | 11 | ||||
-rw-r--r-- | java/jaxen/pkg-plist | 6 |
5 files changed, 64 insertions, 0 deletions
diff --git a/java/Makefile b/java/Makefile index de3ecf4..2e8d81a 100644 --- a/java/Makefile +++ b/java/Makefile @@ -47,6 +47,7 @@ SUBDIR += javamail SUBDIR += javavmwrapper SUBDIR += javel + SUBDIR += jaxen SUBDIR += jboss2 SUBDIR += jboss3 SUBDIR += jce-aba diff --git a/java/jaxen/Makefile b/java/jaxen/Makefile new file mode 100644 index 0000000..f5985c4 --- /dev/null +++ b/java/jaxen/Makefile @@ -0,0 +1,45 @@ +# Ports collection makefile for: Jaxen +# Date created: 9 Decemeber 2003 +# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> +# +# $FreeBSD$ + +PORTNAME= jaxen +PORTVERSION= 1.0 +CATEGORIES= java +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}-FCS + +MAINTAINER= herve.quiroz@esil.univ-mrs.fr +COMMENT= Java XPath Engine + +USE_JAVA= 1.3+ +NO_BUILD= YES + +PORT_JARFILES= jaxen-core.jar jaxen-dom.jar jaxen-dom4j.jar jaxen-exml.jar jaxen-full.jar jaxen-jdom.jar +DEST_JARFILES= ${PORT_JARFILES:S,^,${JAVAJARDIR},} +JAVA_WRKDOCSDIR= ${WRKSRC}/doc +PLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///} + +.if !defined(NOPORTDOCS) +PORTDOCS= LICENSE default.css download.html faq.html index.html javadoc status.html style +.endif + +do-install: + @${ECHO_CMD} -n ">> Installing JAR files..." + @${MKDIR} ${JAVAJARDIR} + @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILES} ${JAVAJARDIR} + @${ECHO_CMD} " [DONE]" +.if !defined(NOPORTDOCS) + @${ECHO_CMD} -n ">> Installing documentation..." + @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";" + @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";" + @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE + @${ECHO_CMD} " [DONE]" +.endif + +post-install: + @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${DEST_JARFILES}" + +.include <bsd.port.mk> diff --git a/java/jaxen/distinfo b/java/jaxen/distinfo new file mode 100644 index 0000000..2762345 --- /dev/null +++ b/java/jaxen/distinfo @@ -0,0 +1 @@ +MD5 (jaxen-1.0-FCS.tar.gz) = c0baf972b669579aff40ca7fdb9a90d0 diff --git a/java/jaxen/pkg-descr b/java/jaxen/pkg-descr new file mode 100644 index 0000000..9c89e9f --- /dev/null +++ b/java/jaxen/pkg-descr @@ -0,0 +1,11 @@ +The Jaxen project is a Java XPath Engine. jaxen is a universal object model +walker, capable of evaluating XPath expressions across multiple models. +Currently supported are dom4j and JDOM . + +Jaxen provides a single point for XPath expression evaluation, regardless of +the target object model, whether its dom4j, JDOM, DOM, JavaBeans, or whatnot. + +WWW: http://jaxen.org + +- Herve Quiroz +herve.quiroz@esil.univ-mrs.fr diff --git a/java/jaxen/pkg-plist b/java/jaxen/pkg-plist new file mode 100644 index 0000000..4dcfc27 --- /dev/null +++ b/java/jaxen/pkg-plist @@ -0,0 +1,6 @@ +%%JAVAJARDIR%%/jaxen-core.jar +%%JAVAJARDIR%%/jaxen-dom.jar +%%JAVAJARDIR%%/jaxen-dom4j.jar +%%JAVAJARDIR%%/jaxen-exml.jar +%%JAVAJARDIR%%/jaxen-full.jar +%%JAVAJARDIR%%/jaxen-jdom.jar |