Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2004 06:08:32 GMT
From:      Patrck Dung <patrick_dkt@yahoo.com.hk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/71389: Port update (pdftk)
Message-ID:  <200409050608.i8568Wsx026782@www.freebsd.org>
Resent-Message-ID: <200409050610.i856ALZI045473@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71389
>Category:       ports
>Synopsis:       Port update (pdftk)
>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:   Sun Sep 05 06:10:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Patrck Dung
>Release:        FreeBSD-5.3-BETA2
>Organization:
>Environment:
FreeBSD piii.nodomain 5.3-BETA2 FreeBSD 5.3-BETA2 #0: Mon Aug 30 23:20:53 HKT 2004     dkt@piii.nodomain:/usr/src/sys/i386/compile/freebsd5.3-pre  i386
>Description:
      pdftk ver 1.00 is released. See the 'Fix' section for the files for the new port. (I have not test it on FreeBSD-4/stable)
>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/distinfo
#	pdftk/Makefile
#	pdftk/pkg-descr
#
echo c - pdftk
mkdir -p pdftk > /dev/null 2>&1
echo x - pdftk/distinfo
sed 's/^X//' >pdftk/distinfo << 'END-of-pdftk/distinfo'
XMD5 (pdftk-1.00.tar.gz) = ad5b64efed39183e6bd07c046e9d8451
XSIZE (pdftk-1.00.tar.gz) = 769124
END-of-pdftk/distinfo
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
XPORTNAME=	pdftk
XPORTVERSION=	1.00
XCATEGORIES=	print
XMASTER_SITES=	http://www.accesspdf.com/pdftk/
XDISTNAME=	${PORTNAME}-${PORTVERSION:R}\.${PORTVERSION:E}
X
XMAINTAINER=	patrick_dkt@yahoo.com.hk
XCOMMENT=	A simple tool for doing everyday things with PDF documents
X
X# needs gcj
XBUILD_DEPENDS=	gcj33:${PORTSDIR}/lang/gcc33
X
X# gcj don't exist on
XNOT_FOR_ARCHS=	ia64 sparc64
X
XUSE_GCC=	3.3
XUSE_GMAKE=	yes
XUSE_ICONV=	yes
XUSE_REINPLACE=	yes
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/${PORTNAME}
X
XMAKEFILE=	Makefile.Generic
XMAKE_ENV=	CXX=g++33 GCJ=gcj33 GCJH=gcjh33
X
XMAN1=		${PORTNAME}.1
XPLIST_FILES=	bin/pdftk
X
Xpost-extract:
X	@${REINPLACE_CMD} -e "s|TOOLPATH\=|TOOLPATH\=\/usr\/local\/bin\/|g" ${WRKSRC}/Makefile.Generic
X	@${REINPLACE_CMD} -e "s|VERSUFF\=|VERSUFF\=33|g" ${WRKSRC}/Makefile.Generic
X	@${REINPLACE_CMD} -e "s|CXXFLAGS\= -lgcj|CXXFLAGS\= -lgcj ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -liconv -lz|g" ${WRKSRC}/Makefile.Generic
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/../debian/${PORTNAME}.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
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
exit


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



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