Date: Wed, 14 Aug 2013 20:20:59 GMT From: Pedro Giffuni <giffunip@tutopia.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/181308: Update textproc/jakarta-poi to version 3.9 Message-ID: <201308142020.r7EKKxvP038393@oldred.freebsd.org> Resent-Message-ID: <201308142030.r7EKU3l0090435@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 181308 >Category: ports >Synopsis: Update textproc/jakarta-poi to version 3.9 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 14 20:30:03 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Pedro Giffuni >Release: 9.2-PRERELEASE >Organization: >Environment: FreeBSD pcbsd-1465 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #3 r254149M: Fri Aug 9 12:11:24 COT 2013 pfg@pcbsd-1465:/usr/src/sys/amd64/compile/DELL amd64 >Description: jakarata-poi has become apache-poi nowadays. The old version we supported was not building anymore and updating this is a pre-requisite for updating the jasperreports port. Install more components while here. >How-To-Repeat: >Fix: After applying the patch I would recommend renaming the directory to apache-poi or perhaps just poi. Patch attached with submission follows: Index: jakarta-poi/Makefile =================================================================== --- jakarta-poi/Makefile (revision 324742) +++ jakarta-poi/Makefile (working copy) @@ -2,13 +2,12 @@ # $FreeBSD$ PORTNAME= poi -PORTVERSION= 2.5.1 -PORTREVISION= 2 +PORTVERSION= 3.9 CATEGORIES= textproc devel java -MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} +MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/release/src -PKGNAMEPREFIX= jakarta- -DISTNAME= ${PORTNAME}-src-${PORTVERSION}-final-20040804 +PKGNAMEPREFIX= apache- +DISTNAME= ${PORTNAME}-src-${PORTVERSION}-20121203 MAINTAINER= toha@toha.org.ua COMMENT= Java API To Access Microsoft Format Files @@ -18,7 +17,7 @@ USE_JAVA= yes JAVA_VERSION= 1.6+ -NO_WRKSUBDIR= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} DSTAMP= `date +%Y%m%d` @@ -28,16 +27,25 @@ PORTDOCS= * .endif ALL_TARGET= jar -JARFILE= ${PORTNAME}-${PORTVERSION}-final-${DSTAMP}.jar +JARFILE= ${PORTNAME}-${PORTVERSION}-${DSTAMP}.jar DESTJARFILE= ${PORTNAME}.jar +JARNAMES= examples excelant scratchpad ooxml ooxml-schemas PLIST_FILES= %%JAVAJARDIR%%/${DESTJARFILE} +.for i in ${JARNAMES} +PLIST_FILES+=%%JAVAJARDIR%%/${PORTNAME}-${i}.jar +.endfor + do-install: @${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..." @${INSTALL_DATA} ${WRKSRC}/build/dist/${JARFILE} ${JAVAJARDIR}/${DESTJARFILE} @${ECHO_MSG} " [ DONE ]" - +.for i in ${JARNAMES} + @${ECHO_MSG} -n ">> Installing JAR for ${i} ..." + @${INSTALL_DATA} ${WRKSRC}/build/dist/${PORTNAME}-${i}-${PORTVERSION}-${DSTAMP}.jar ${JAVAJARDIR}/${PORTNAME}-${i}.jar + @${ECHO_MSG} " [ DONE ]" +.endfor .if !defined(NOPORTDOCS) @${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..." @cd ${WRKSRC}/docs/apidocs \ Index: jakarta-poi/distinfo =================================================================== --- jakarta-poi/distinfo (revision 324742) +++ jakarta-poi/distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (poi-src-2.5.1-final-20040804.tar.gz) = 783c6c36b9762aafd3386adcfbe71ad46aaa14d9fe20545c4a60eb591cfe0cc1 -SIZE (poi-src-2.5.1-final-20040804.tar.gz) = 6870414 +SHA256 (poi-src-3.9-20121203.tar.gz) = 15f948546525a73438ef6544e8ba006813b79a4a7e8529582c99e3926c238ead +SIZE (poi-src-3.9-20121203.tar.gz) = 48227396 Index: jakarta-poi/pkg-descr =================================================================== --- jakarta-poi/pkg-descr (revision 324742) +++ jakarta-poi/pkg-descr (working copy) @@ -5,4 +5,4 @@ Word Excel solution. However, we have a complete API for porting other OLE 2 Compound Document formats and welcome others to participate. -WWW: http://jakarta.apache.org/poi/ +WWW: http://poi.apache.org/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308142020.r7EKKxvP038393>