From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 20 13:16:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C575616A4CE; Tue, 20 Jul 2004 13:16:28 +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 95CC443D55; Tue, 20 Jul 2004 13:16:27 +0000 (GMT) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: from arabica.esil.univ-mrs.fr (localhost.esil.univ-mrs.fr [127.0.0.1])i6KDGP2r030123; Tue, 20 Jul 2004 15:16:25 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) Received: (from rv@localhost)i6KDGPF9030122; Tue, 20 Jul 2004 15:16:25 +0200 (CEST) (envelope-from herve.quiroz@esil.univ-mrs.fr) X-Authentication-Warning: arabica.esil.univ-mrs.fr: rv set sender to herve.quiroz@esil.univ-mrs.fr using -f Date: Tue, 20 Jul 2004 15:16:25 +0200 From: Herve Quiroz To: Volker Stolz Message-ID: <20040720131625.GA30101@arabica.esil.univ-mrs.fr> References: <200407200906.i6K96dP9018257@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <200407200906.i6K96dP9018257@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/69055: [PATCH] textproc/xml4j: update to 4.3.0 and fix port 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, 20 Jul 2004 13:16:29 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Jul 20, 2004 at 09:06:39AM +0000, Volker Stolz wrote: > After deinstallation: > > xml4j@menelaos [11:05:06]> ls -l /usr/local/share/java/xml4j/ > total 10 > -r--r--r-- 1 root wheel 1206 Jul 20 10:38 personal-schema.xml > -r--r--r-- 1 root wheel 619 Jul 20 10:38 personal.dtd > -r--r--r-- 1 root wheel 1145 Jul 20 10:38 personal.xml > -r--r--r-- 1 root wheel 2139 Jul 20 10:38 personal.xsd Sorry for that. The attached patch will fix the problem. Herve --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="Makefile.diff" --- Makefile.orig Tue Jul 20 15:01:19 2004 +++ Makefile Tue Jul 20 15:09:52 2004 @@ -6,25 +6,65 @@ # PORTNAME= xml4j -PORTVERSION= 3.1.1 +PORTVERSION= 4.3.0 CATEGORIES= textproc -MASTER_SITES= http://www.alphaworks.ibm.com/aw.nsf/download/xml4j/ -DISTNAME= XML4J-J-bin.${PORTVERSION} +MASTER_SITES= http://dl.alphaworks.ibm.com/technologies/xml4j/ +DISTNAME= XML4J-bin.${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= XML for Java parser -WRKSRC= ${WRKDIR}/XML4J-3_1_1 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/./_/g} +USE_JAVA= yes +JAVA_VERSION= 1.2+ NO_BUILD= YES +DATADIR= ${JAVASHAREDIR}/${PORTNAME} -JAVASUBDIR= jdk1.1.8 -DIR= ${PREFIX}/share/java +CONFLICTS= xerces-j-2.* + +SAMPLES= dom sax simpletype socket ui xni xs +PORTDOCS= *.html graphics images javadocs resources +JARFILES= resolver.jar xercesImpl.jar xercesSamples.jar xml-apis.jar xmlParserAPIs.jar +DATAFILES= personal-schema.xml personal.dtd personal.xml personal.xsd + +PLIST_FILES= ${JARFILES:S,^,%%JAVAJARDIR%%/,} \ + ${DATAFILES:S,^,%%DATADIR%%/,} +PLIST_DIRS= %%DATADIR%% do-install: - @${MKDIR} ${DIR}/classes - @(cd ${WRKSRC} && ${INSTALL_DATA} xml4j.jar xerces.jar xercesSamples.jar ${DIR}/classes) - @${MKDIR} ${DIR}/xml4j - @(cd ${WRKSRC} && ${INSTALL_DATA} Readme.html ${DIR}/xml4j) - @(cd ${WRKSRC} && ${CP} -R data docs ${DIR}/xml4j) + @${MKDIR} ${JAVAJARDIR} + @${ECHO_MSG} -n ">> Installing JAR in ${JAVAJARDIR}..." + @cd ${WRKSRC} && \ + ${INSTALL_DATA} ${JARFILES} ${JAVAJARDIR}/ + @${ECHO_MSG} " [ DONE ]" + @${ECHO_MSG} -n ">> Installing data in ${DATADIR}..." + @${MKDIR} ${DATADIR} + @cd ${WRKSRC}/data && \ + ${INSTALL_DATA} ${DATAFILES} ${DATADIR}/ + @${ECHO_MSG} " [ DONE ]" +.if !defined(NOPORTDOCS) + @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} + @cd ${WRKSRC}/docs && \ + ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \; + @cd ${WRKSRC}/docs && \ + ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \; + @${ECHO_MSG} " [ DONE ]" + @${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..." + @${MKDIR} ${EXAMPLESDIR} + @cd ${WRKSRC}/samples && \ + ${FIND} ${SAMPLES} -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \; + @cd ${WRKSRC}/samples && \ + ${FIND} ${SAMPLES} -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \; + @${ECHO_MSG} " [ DONE ]" +.endif + +.if !defined(NOPORTDOCS) +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 --bp/iNruPH9dso1Pn--