From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 13 18:20:20 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D51816A4CE for ; Tue, 13 Jul 2004 18:20:20 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64F2943D48 for ; Tue, 13 Jul 2004 18:20:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6DIKKUr031233 for ; Tue, 13 Jul 2004 18:20:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6DIKK9x031232; Tue, 13 Jul 2004 18:20:20 GMT (envelope-from gnats) Resent-Date: Tue, 13 Jul 2004 18:20:20 GMT Resent-Message-Id: <200407131820.i6DIKK9x031232@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Herve Quiroz Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DCC316A4CE for ; Tue, 13 Jul 2004 18:11:18 +0000 (GMT) Received: from arabica.esil.univ-mrs.fr (arabica.esil.univ-mrs.fr [139.124.41.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7605243D5A for ; Tue, 13 Jul 2004 18:11:17 +0000 (GMT) (envelope-from rv@arabica.esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i6DIBF2r044531 for ; Tue, 13 Jul 2004 20:11:15 +0200 (CEST) (envelope-from rv@arabica.esil.univ-mrs.fr) Received: (from rv@localhost)i6DIBFWe044530; Tue, 13 Jul 2004 20:11:15 +0200 (CEST) (envelope-from rv) Message-Id: <200407131811.i6DIBFWe044530@arabica.esil.univ-mrs.fr> Date: Tue, 13 Jul 2004 20:11:15 +0200 (CEST) From: Herve Quiroz To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69015: [MAINTAINER] textproc/xerces-j: change default behavior and update pkg-descr X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 18:20:20 -0000 >Number: 69015 >Category: ports >Synopsis: [MAINTAINER] textproc/xerces-j: change default behavior and update pkg-descr >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Jul 13 18:20:19 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Herve Quiroz >Release: FreeBSD 5.2.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD arabica.esil.univ-mrs.fr 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #3: Thu May 6 20:17:47 CEST >Description: - Samples are now installed by default - The source code for samples is now installed with the samples - Fixed some OPTIONS/package issue - Updated pkg-descr - Performance improvement: removed the unnecessary loop - Cosmetic changes: honor 80 chars line length NOTE: bumped port revision as additional files will get installed. NOTE2: Most of the changes (and accordingly most fixes) were suggested by Volker Stolz (vs). Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- xerces-j-2.6.2_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/xerces-j.original/Makefile /usr/ports/textproc/xerces-j/Makefile --- /usr/ports/textproc/xerces-j.original/Makefile Sat Apr 17 00:46:20 2004 +++ /usr/ports/textproc/xerces-j/Makefile Tue Jul 13 19:05:02 2004 @@ -7,6 +7,7 @@ PORTNAME= xerces-j PORTVERSION= 2.6.2 +PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= ${MASTER_SITE_APACHE_XML} MASTER_SITE_SUBDIR= xerces-j/source @@ -23,7 +24,7 @@ WRKSRC= ${WRKDIR}/xerces-${PORTVERSION:S/./_/g} OPTIONS= DEPRECATED_JARS "build/install the deprecated JARs" on \ - SAMPLES_JAR "build/install the samples" off + SAMPLES "build/install the samples" on .include @@ -35,11 +36,11 @@ .endif JARFILES+= xercesImpl.jar xml-apis.jar -.if defined(WITH_DEPRECATED_JARS) +.if !defined(WITHOUT_DEPRECATED_JARS) ANT_TARGETS+= deprecatedjars JARFILES+= xerces.jar xmlParserAPIs.jar resolver.jar .endif -.if defined(WITH_SAMPLES_JAR) +.if !defined(WITHOUT_SAMPLES) JARFILES+= xercesSamples.jar .endif @@ -51,24 +52,39 @@ @cd ${WRKSRC} && ${MV} ../tools . do-build: - @cd ${WRKSRC} && ${SETENV} CLASSPATH=`echo ${TOOLS_JARFILES:S,^,tools/,} | ${TR} " " ":"` ${ANT} ${ANT_TARGETS} + @cd ${WRKSRC} && \ + ${SETENV} CLASSPATH=`echo ${TOOLS_JARFILES:S,^,tools/,} | \ + ${TR} " " ":"` ${ANT} ${ANT_TARGETS} do-install: @${ECHO_CMD} -n ">> Installing JAR files in ${JAVAJARDIR}..." @${MKDIR} ${JAVAJARDIR} .for JARFILE in ${JARFILES} - @cd ${WRKSRC}/build && ${CP} ${JARFILE} ${JAVAJARDIR}/ + @cd ${WRKSRC}/build && ${INSTALL_DATA} ${JARFILE} ${JAVAJARDIR}/${JARFILE} @${ECHO_CMD} -n " ${JARFILE}" .endfor @${ECHO_CMD} " [ DONE ]" .if !defined(NOPORTDOCS) @${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..." - @${MKDIR} ${DOCSDIR} -.for DOCFILE in ${PORTDOCS} - @cd ${WRKSRC}/build/docs/javadocs && ${CP} -r ${DOCFILE} ${DOCSDIR}/ - @${ECHO_CMD} -n " ${DOCFILE}" -.endfor + @cd ${WRKSRC}/build/docs/javadocs && \ + ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \ + ${FIND} ${PORTDOCS} -not -type d -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \; + @${ECHO_CMD} " [ DONE ]" +.endif +.if !defined(WITHOUT_SAMPLES) + @${ECHO_CMD} -n ">> Installing samples in ${EXAMPLESDIR}..." + @cd ${WRKSRC}/samples && \ + ${FIND} . -type d -exec ${MKDIR} "${EXAMPLESDIR}/{}" \; && \ + ${FIND} . -not -type d -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \; @${ECHO_CMD} " [ DONE ]" +.endif + +.if !defined(WITHOUT_SAMPLES) +post-install: + @${FIND} -s ${WRKSRC}/samples -not -type d | \ + ${SED} -ne 's,^${WRKSRC}/samples,${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} + @${FIND} -s -d ${WRKSRC}/samples -type d | \ + ${SED} -ne 's,^${WRKSRC}/samples,@dirrm ${EXAMPLESDIR:S,${PREFIX}/,,},p' >> ${TMPPLIST} .endif .include diff -ruN --exclude=CVS /usr/ports/textproc/xerces-j.original/pkg-descr /usr/ports/textproc/xerces-j/pkg-descr --- /usr/ports/textproc/xerces-j.original/pkg-descr Tue Sep 10 04:42:16 2002 +++ /usr/ports/textproc/xerces-j/pkg-descr Tue Jul 13 19:09:26 2004 @@ -1,6 +1,20 @@ -The Xerces Java Parser supports XML 1.0 recommendation and -contains advanced parser functionality, such as XML Schema, DOM -Level 2 version 1.0, and SAX Version 2, in addition to supporting -the industry-standard DOM Level 1 and SAX version 1 APIs. +The Xerces Java Parser supports XML 1.0 recommendation and contains advanced +parser functionality, such as XML Schema, DOM Level 2 version 1.0, and SAX +Version 2, in addition to supporting the industry-standard DOM Level 1 and SAX +version 1 APIs. + +Xerces2 is the next generation of high performance, fully compliant XML parsers +in the Apache Xerces family. This version of Xerces introduces the Xerces +Native Interface (XNI), a complete framework for building parser components and +configurations that is extremely modular and easy to program. + +The Apache Xerces2 parser is the reference implementation of XNI but other +parser components, configurations, and parsers can be written using the Xerces +Native Interface. + +Xerces2 also provides an experimental implementation of the Document Object +Model Level 3 Core and Load/Save Proposed Recommendations and provides a +partial implementation of the XML Inclusions (XInclude) W3C Working Draft in +Last Call. It also provides support for OASIS XML Catalogs. WWW: http://xml.apache.org/xerces2-j/index.html --- xerces-j-2.6.2_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: