ports/158601: New port print/pdfbox

Pedro Giffuni giffunip at tutopia.com
Sun Jul 3 00:40:04 UTC 2011


>Number:         158601
>Category:       ports
>Synopsis:       New port print/pdfbox
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 03 00:40:04 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Pedro Giffuni
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD mogwai.giffuni.net 9.0-CURRENT FreeBSD 9.0-CURRENT #6: Sat Apr 30 01:37:57 PDT 2011     root at build9x64.pcbsd.org:/usr/obj/pcbsd-build90/fbsd-source/9.0/sys/PCBSD  amd64

>Description:
New port of Apache PDFBox: A Java library and application to handle
PDF files.

http://pdfbox.apache.org/

This port is based a very old version in PR 83370.
>How-To-Repeat:

>Fix:
shar file attached.

Patch attached with submission follows:

# 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:
#
#	./pdfbox
#	./pdfbox/Makefile
#	./pdfbox/distinfo
#	./pdfbox/pkg-descr
#
echo c - ./pdfbox
mkdir -p ./pdfbox > /dev/null 2>&1
echo x - ./pdfbox/Makefile
sed 's/^X//' >./pdfbox/Makefile << '1d44b2b340e72e8f02ef63cb500aebd8'
X# New ports collection makefile for:	pdfbox
X# Date created:				13 July 2005
X# Whom:					Yuichiro AIZAWA
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pdfbox
XPORTVERSION=	1.6.0
XCATEGORIES=	print textproc java
XMASTER_SITES=	${MASTER_SITE_APACHE:S,%SUBDIR%,pdfbox/${PORTVERSION},}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTFILES=	${PORTNAME}-app-${PORTVERSION}.jar	\
X		fontbox-${PORTVERSION}.jar jempbox-${PORTVERSION}.jar
X
XMAINTAINER=	giffunip at tutopia.com
XCOMMENT=	Java PDF Library
X
XRUN_DEPENDS=	${JAVAJARDIR}/bcmail.jar:${PORTSDIR}/java/bouncycastle	\
X		${JAVALIBDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging
X
XLICENSE=	ASL
X
XUSE_JAVA=	yes
XJAVA_VERSION=	1.5+
X
XDIST_SUBDIR=	${PORTNAME}
XNO_EXTRACT=	yes
XNO_BUILD=	yes
X
XPLIST_FILES=	%%JAVAJARDIR%%/fontbox-${PORTVERSION}.jar	\
X		%%JAVAJARDIR%%/jempbox-${PORTVERSION}.jar	\
X		%%JAVAJARDIR%%/${PORTNAME}-app-${PORTVERSION}.jar
X
Xdo-install:
X	@${ECHO_MSG} -n ">> Installing JAR files in ${JAVAJARDIR}..."
X	@${MKDIR} ${JAVAJARDIR}
X	@${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*-${PORTVERSION}.jar \
X	 ${JAVAJARDIR}
X	@${ECHO_MSG} " [ DONE ]"
X
X.include <bsd.port.mk>
1d44b2b340e72e8f02ef63cb500aebd8
echo x - ./pdfbox/distinfo
sed 's/^X//' >./pdfbox/distinfo << '6fc39c7e1259f1af381e1df1578cae75'
XSHA256 (pdfbox/pdfbox-app-1.6.0.jar) = d02d4ed9e67230e49f692e28a3a9b66e3a804146ef84270876b4f570467c87e2
XSIZE (pdfbox/pdfbox-app-1.6.0.jar) = 10308868
XSHA256 (pdfbox/fontbox-1.6.0.jar) = 068b3d515c7e75db03c88d1c079f17d9aa8022a36769db2c03a61d316f14a0d7
XSIZE (pdfbox/fontbox-1.6.0.jar) = 174824
XSHA256 (pdfbox/jempbox-1.6.0.jar) = c12bd94ee35a3d3d9c0dcf125f52e4e33657cd30d8c184911b24c71f0ff691b6
XSIZE (pdfbox/jempbox-1.6.0.jar) = 51360
6fc39c7e1259f1af381e1df1578cae75
echo x - ./pdfbox/pkg-descr
sed 's/^X//' >./pdfbox/pkg-descr << 'ffff4b01230643ef7ac8b3d60ee520d8'
XApache PDFBox - Java PDF Library
X
XApache PDFBox is an open source Java PDF library for working with PDF
Xdocuments. This project allows creation of new PDF documents, manipulation of
Xexisting documents and the ability to extract content from documents. Apache
XPDFBox also includes a  command line utility.
X
XFeatures
X
X    * PDF to text extraction
X    * Merge PDF Documents
X    * PDF Document Encryption/Decryption
X    * Lucene Search Engine Integration
X    * Fill in form data FDF and XFDF
X    * Create a PDF from a text file
X    * Create images from PDF pages
X    * Print a PDF
X
XWWW: http://pdfbox.apache.org/
ffff4b01230643ef7ac8b3d60ee520d8
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list