From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Mar 21 19:10:13 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 19C1F16A4CE for ; Sun, 21 Mar 2004 19:10:13 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id F0E6243D39 for ; Sun, 21 Mar 2004 19:10:12 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i2M3ACbv073408 for ; Sun, 21 Mar 2004 19:10:12 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i2M3AC5j073407; Sun, 21 Mar 2004 19:10:12 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 21 Mar 2004 19:10:12 -0800 (PST) Resent-Message-Id: <200403220310.i2M3AC5j073407@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, Patrick Dung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B443916A4CE for ; Sun, 21 Mar 2004 19:03:38 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99B9E43D1D for ; Sun, 21 Mar 2004 19:03:38 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i2M33c72004474 for ; Sun, 21 Mar 2004 19:03:38 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i2M33cjS004473; Sun, 21 Mar 2004 19:03:38 -0800 (PST) (envelope-from nobody) Message-Id: <200403220303.i2M33cjS004473@www.freebsd.org> Date: Sun, 21 Mar 2004 19:03:38 -0800 (PST) From: Patrick Dung To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/64555: New port:print/pdftk, A tool to do everyday things with PDF 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: Mon, 22 Mar 2004 03:10:13 -0000 >Number: 64555 >Category: ports >Synopsis: New port:print/pdftk, A tool to do everyday things with PDF >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 Mar 21 19:10:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: Patrick Dung >Release: FreeBSD 4.9-STABLE >Organization: N/A >Environment: FreeBSD 4.9-STABLE FreeBSD 4.9-STABLE #0: >Description: pdftk is a simple tool for doing everyday things with PDF documents. Such as setting encryption on PDF files. The attached port files only works on FreeBSD 4.x-stable It will have compile problems with FreeBSD 5.x. The port needs GCC33 to build. >How-To-Repeat: N/A >Fix: # 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: # # pdftk # pdftk/Makefile # pdftk/pkg-descr # pdftk/pkg-plist # echo c - pdftk mkdir -p pdftk > /dev/null 2>&1 echo x - pdftk/Makefile sed 's/^X//' >pdftk/Makefile << 'END-of-pdftk/Makefile' X# Ports collection makefile for: pdftk X# Date created: 18 March, 2004 X# Whom: Patrick Dung (patrick_dkt@yahoo.com.hk) X# X# $FreeBSD$ X# X XPORTNAME= pdftk XPORTVERSION= 0.93 XCATEGORIES= print XMASTER_SITES= http://www.accesspdf.com/pdftk/ X XMAINTAINER= patrick_dkt@yahoo.com.hk XCOMMENT= A simple tool for doing everyday things with PDF documents X XBUILD_DEPENDS= ${LOCALBASE}/bin/gcc33:${PORTSDIR}/lang/gcc33 XRUN_DEPENDS= ${LOCALBASE}/lib/libiconv.so.3:${PORTSDIR}/converters/libiconv X XUSE_GCC= 3.3 X XUSE_GMAKE= yes XUSE_ICONV= yes XUSE_REINPLACE= yes X XBUILD_WRKSRC= ${WRKSRC}/${PORTNAME} XINSTALL_WRKSRC= ${WRKSRC}/${PORTNAME} X XMAKEFILE= Makefile.Generic X XMAN1= ${PORTNAME}.1 X Xpost-extract: X @${REINPLACE_CMD} -e "s|CC_OPTS \+\=|CC_OPTS \+\= ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" \ X ${WRKSRC}/${PORTNAME}/Makefile.Base X X @${REINPLACE_CMD} -e "s|g\+\+|g\+\+${USE_GCC:S/.//}|g" ${WRKSRC}/${PORTNAME}/Makefile.Base X X @${FIND} ${WRKSRC} -type f -name Makefile | \ X ${XARGS} ${REINPLACE_CMD} -E -e "s/[[:<:]]gc(c|jh?)[[:>:]]/gc\1${USE_GCC:S/.//}/g" X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${PORTNAME} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${PREFIX}/man/man1 X X.include END-of-pdftk/Makefile echo x - pdftk/pkg-descr sed 's/^X//' >pdftk/pkg-descr << 'END-of-pdftk/pkg-descr' XIf PDF is electronic paper, then pdftk is an electronic staple-remover, Xhole-punch, binder, secret-decoder-ring, and X-Ray-glasses. XPdftk is a simple tool for doing everyday things with PDF documents. XKeep one in the top drawer of your desktop and use it to: X XMerge PDF Documents XSplit PDF Pages into a New Document XDecrypt Input as Necessary (Password Required) XEncrypt Output as Desired XBurst a PDF Document into Single Pages XReport on PDF Metrics, including Metadata and Bookmarks XUncompress and Re-Compress Page Streams XRepair Corrupted PDF (Where Possible) X XPdftk is also an example of how to use a library of Java classes Xin a stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI Xallow C++ code to use iText's (itext-paulo) Java classes. X XWWW: http://www.accesspdf.com/pdftk/ END-of-pdftk/pkg-descr echo x - pdftk/pkg-plist sed 's/^X//' >pdftk/pkg-plist << 'END-of-pdftk/pkg-plist' Xbin/pdftk END-of-pdftk/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted: