Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 13:51:15 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r343078 - head/print/pdfbox
Message-ID:  <201402061351.s16DpFI0053205@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Thu Feb  6 13:51:15 2014
New Revision: 343078
URL: http://svnweb.freebsd.org/changeset/ports/343078
QAT: https://qat.redports.org/buildarchive/r343078/

Log:
  - Update to 1.8.4 release
  - Overhaul port
  - Stagify
  - Take maintainership

Modified:
  head/print/pdfbox/Makefile
  head/print/pdfbox/distinfo
  head/print/pdfbox/pkg-descr

Modified: head/print/pdfbox/Makefile
==============================================================================
--- head/print/pdfbox/Makefile	Thu Feb  6 13:48:59 2014	(r343077)
+++ head/print/pdfbox/Makefile	Thu Feb  6 13:51:15 2014	(r343078)
@@ -2,38 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	pdfbox
-PORTVERSION=	1.8.1
+PORTVERSION=	1.8.4
 CATEGORIES=	print textproc java
 MASTER_SITES=	${MASTER_SITE_APACHE:S,%SUBDIR%,pdfbox/${PORTVERSION},}
 MASTER_SITE_SUBDIR=	${PORTNAME}
-DISTFILES=	${PORTNAME}-app-${PORTVERSION}.jar	\
-		fontbox-${PORTVERSION}.jar jempbox-${PORTVERSION}.jar
+DISTFILES=	${JAR_NAMES:S/$/-${PORTVERSION}.jar/}
 
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Java PDF Library
+MAINTAINER=	ale@FreeBSD.org
+COMMENT=	Java tool for working with PDF documents
 
 LICENSE=	APACHE20
 
 RUN_DEPENDS=	${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle	\
 		${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
 
-USE_JAVA=	yes
-JAVA_VERSION=	1.6+
+JAR_NAMES=	pdfbox fontbox jempbox preflight xmpbox
 
-DIST_SUBDIR=	${PORTNAME}
+USE_JAVA=	yes
 NO_EXTRACT=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=	%%JAVAJARDIR%%/fontbox-${PORTVERSION}.jar	\
-		%%JAVAJARDIR%%/jempbox-${PORTVERSION}.jar	\
-		%%JAVAJARDIR%%/${PORTNAME}-app-${PORTVERSION}.jar
+PLIST_FILES=	${JAR_NAMES:S/^/%%JAVAJARDIR%%\//:S/$/.jar/}
 
-NO_STAGE=	yes
 do-install:
 	@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
-	@${MKDIR} ${JAVAJARDIR}
-	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*-${PORTVERSION}.jar \
-	 ${JAVAJARDIR}
+	@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
+.for f in ${JAR_NAMES}
+	${INSTALL_DATA} ${DISTDIR}/${f}-${PORTVERSION}.jar \
+		${STAGEDIR}${JAVAJARDIR}/${f}.jar
+.endfor
 	@${ECHO_MSG} " [ DONE ]"
 
 .include <bsd.port.mk>

Modified: head/print/pdfbox/distinfo
==============================================================================
--- head/print/pdfbox/distinfo	Thu Feb  6 13:48:59 2014	(r343077)
+++ head/print/pdfbox/distinfo	Thu Feb  6 13:51:15 2014	(r343078)
@@ -1,6 +1,10 @@
-SHA256 (pdfbox/pdfbox-app-1.8.1.jar) = af8ca208421ebc1db685cc47d04b3da488d019f5598c518882e53bca1f5fdd18
-SIZE (pdfbox/pdfbox-app-1.8.1.jar) = 10468862
-SHA256 (pdfbox/fontbox-1.8.1.jar) = 999c4481d265163ca67a5c5d5a4e10c0d3fc3a49813f5c6f59d76139f04e6888
-SIZE (pdfbox/fontbox-1.8.1.jar) = 205153
-SHA256 (pdfbox/jempbox-1.8.1.jar) = efd6895a66f7bd36db3e563d87e833d392608abac4af311125d64ca99b7f5491
-SIZE (pdfbox/jempbox-1.8.1.jar) = 50972
+SHA256 (pdfbox-1.8.4.jar) = 097d89d010625d4dab99d1d384624ae97707b9a990cb2539a1576f5a5ec29f5f
+SIZE (pdfbox-1.8.4.jar) = 3997494
+SHA256 (fontbox-1.8.4.jar) = fff0788fd5962af0e096efa36ffe0cd49133b326a49f4365c2d587dd9ff663d3
+SIZE (fontbox-1.8.4.jar) = 205430
+SHA256 (jempbox-1.8.4.jar) = 4daa7fe823c5c2c55dd450a5b5111a0c198b86982f1087736138884c0a34a214
+SIZE (jempbox-1.8.4.jar) = 50980
+SHA256 (preflight-1.8.4.jar) = 22bc4b2c672d8fbe5d5c79eaa1c577c52c45f2ab2baf83f61a5d4b68ec67bb28
+SIZE (preflight-1.8.4.jar) = 297410
+SHA256 (xmpbox-1.8.4.jar) = 6aa0be8cfa3ad54345d32f837353c646f382febc0bdfb8875f457aa837a90c08
+SIZE (xmpbox-1.8.4.jar) = 114621

Modified: head/print/pdfbox/pkg-descr
==============================================================================
--- head/print/pdfbox/pkg-descr	Thu Feb  6 13:48:59 2014	(r343077)
+++ head/print/pdfbox/pkg-descr	Thu Feb  6 13:51:15 2014	(r343078)
@@ -1,19 +1,16 @@
-Apache PDFBox - Java PDF Library
-
-Apache PDFBox is an open source Java PDF library for working with PDF
+The Apache PDFBox library is an open source Java tool for working with PDF
 documents. This project allows creation of new PDF documents, manipulation of
 existing documents and the ability to extract content from documents. Apache
-PDFBox also includes a  command line utility.
-
-Features
+PDFBox also includes several command line utilities.
 
-    * PDF to text extraction
-    * Merge PDF Documents
-    * PDF Document Encryption/Decryption
-    * Lucene Search Engine Integration
-    * Fill in form data FDF and XFDF
-    * Create a PDF from a text file
-    * Create images from PDF pages
-    * Print a PDF
+Features:
+ - Text extraction
+ - Merging & Splitting
+ - Forms Filling
+ - PDF/A Validation
+ - PDF Printing
+ - PDF to Image Conversion
+ - PDF Creation
+ - PDF Signing
 
 WWW: http://pdfbox.apache.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402061351.s16DpFI0053205>