Date: Tue, 9 Dec 2003 19:07:07 +0100 (CET) From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: FreeBSD-gnats-submit@FreeBSD.org Subject: java/60085: New port: java/jaxen Message-ID: <200312091807.hB9I77wq091316@andouillette.esil.univ-mrs.fr> Resent-Message-ID: <200312091810.hB9IAL2i083560@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 60085 >Category: java >Synopsis: New port: java/jaxen >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Dec 09 10:10:20 PST 2003 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 5.1-RELEASE-p10 i386 >Organization: >Environment: System: FreeBSD andouillette.esil.univ-mrs.fr 5.1-RELEASE-p10 FreeBSD 5.1-RELEASE-p10 #0: Mon Nov 3 15:33:19 CET 2003 root@andouillette.esil.univ-mrs.fr:/usr/obj/usr/src/sys/ASSIMILATED i386 >Description: >From the pkg-descr: 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. Notes from the maintainer: This port is linked in some way to the java/jdom port, although the forecited does not comply with the current Java ports standards (mostly regarding the location of the JAR files). Basically, this means that with this port commited we should make the java/jdom port install only JDom JAR files. Currently, the JDom port installs many other JAR files (that can be already installed on the system), such as JUnit, Apache Ant, Xerces-J, Xalan-J and this port Jaxen. So with this port commited, we will have all of the dependencies of JDom as ports. Then I will submit a patch for java/jdom... Tested with portlint and it "looks fine". >How-To-Repeat: >Fix: # 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: # # java/jaxen # java/jaxen/distinfo # java/jaxen/Makefile # java/jaxen/pkg-plist # java/jaxen/pkg-descr # echo c - java/jaxen mkdir -p java/jaxen > /dev/null 2>&1 echo x - java/jaxen/distinfo sed 's/^X//' >java/jaxen/distinfo << 'END-of-java/jaxen/distinfo' XMD5 (jaxen-1.0-FCS.tar.gz) = c0baf972b669579aff40ca7fdb9a90d0 END-of-java/jaxen/distinfo echo x - java/jaxen/Makefile sed 's/^X//' >java/jaxen/Makefile << 'END-of-java/jaxen/Makefile' X# Ports collection makefile for: Jaxen X# Date created: 9 Decemeber 2003 X# Whom: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> X# X# $FreeBSD$ X XPORTNAME= jaxen XPORTVERSION= 1.0 XCATEGORIES= java XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}-${PORTVERSION}-FCS X XMAINTAINER= herve.quiroz@esil.univ-mrs.fr XCOMMENT= Java XPath Engine X XUSE_JAVA= 1.3+ XNO_BUILD= YES X XPORT_JARFILES= jaxen-core.jar jaxen-dom.jar jaxen-dom4j.jar jaxen-exml.jar jaxen-full.jar jaxen-jdom.jar XDEST_JARFILES= ${PORT_JARFILES:S,^,${JAVAJARDIR},} XJAVA_WRKDOCSDIR= ${WRKSRC}/doc XPLIST_SUB+= JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}\///} X X.if !defined(NOPORTDOCS) XPORTDOCS= LICENSE default.css download.html faq.html index.html javadoc status.html style X.endif X Xdo-install: X @${ECHO_CMD} -n ">> Installing JAR files..." X @${MKDIR} ${JAVAJARDIR} X @cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILES} ${JAVAJARDIR} X @${ECHO_CMD} " [DONE]" X.if !defined(NOPORTDOCS) X @${ECHO_CMD} -n ">> Installing documentation..." X @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} ";" X @cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";" X @${INSTALL_MAN} ${WRKSRC}/LICENSE ${DOCSDIR}/LICENSE X @${ECHO_CMD} " [DONE]" X.endif X Xpost-install: X @${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${DEST_JARFILES}" X X.include <bsd.port.mk> END-of-java/jaxen/Makefile echo x - java/jaxen/pkg-plist sed 's/^X//' >java/jaxen/pkg-plist << 'END-of-java/jaxen/pkg-plist' X%%JAVAJARDIR%%/jaxen-core.jar X%%JAVAJARDIR%%/jaxen-dom.jar X%%JAVAJARDIR%%/jaxen-dom4j.jar X%%JAVAJARDIR%%/jaxen-exml.jar X%%JAVAJARDIR%%/jaxen-full.jar X%%JAVAJARDIR%%/jaxen-jdom.jar END-of-java/jaxen/pkg-plist echo x - java/jaxen/pkg-descr sed 's/^X//' >java/jaxen/pkg-descr << 'END-of-java/jaxen/pkg-descr' XThe Jaxen project is a Java XPath Engine. jaxen is a universal object model Xwalker, capable of evaluating XPath expressions across multiple models. XCurrently supported are dom4j and JDOM . X XJaxen provides a single point for XPath expression evaluation, regardless of Xthe target object model, whether its dom4j, JDOM, DOM, JavaBeans, or whatnot. X XWWW: http://jaxen.org X X- Herve Quiroz Xherve.quiroz@esil.univ-mrs.fr END-of-java/jaxen/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312091807.hB9I77wq091316>