FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
pdftk 2.02_3 print on this many watch lists=11 search for ports that depend on this port
Simple tool for doing everyday things with PDF documents
Maintained by: mat@FreeBSD.org search for ports maintained by this maintainer
Port Added: 02 Apr 2004 14:43:39
License: GPLv2


If PDF is electronic paper, then pdftk is an electronic staple-remover,
hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.
Pdftk is a simple tool for doing everyday things with PDF documents.
Keep one in the top drawer of your desktop and use it to:

Merge PDF Documents
Split PDF Pages into a New Document
Decrypt Input as Necessary (Password Required)
Encrypt Output as Desired
Burst a PDF Document into Single Pages
Report on PDF Metrics, including Metadata and Bookmarks
Uncompress and Re-Compress Page Streams
Repair Corrupted PDF (Where Possible)

Pdftk is also an example of how to use a library of Java classes
in a stand-alone C++ program. Specifically, it demonstrates how GCJ and CNI
allow C++ code to use iText's (itext-paulo) Java classes.

WWW: http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. devel/gmake
  2. lang/gcc
  3. devel/binutils
Required To Run:
  1. lang/gcc
Required Libraries:
  1. converters/libiconv

This port is required by:

for Run * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/print/pdftk/ && make install clean
To add the package: pkg install print/pdftk


Configuration Options
     No options to configure

Master Sites:
  1. http://distcache.FreeBSD.org/ports-distfiles/
  2. http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

Number of commits found: 58

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
10 Sep 2014 20:50:37
Original commit files touched by this commit  2.02_3
Revision:367888
gerald search for other commits by this committer
Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
10 Mar 2014 20:55:22
Original commit files touched by this commit  2.02_2
Revision:347809
gerald search for other commits by this committer
Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
10 Mar 2014 16:45:37
Original commit files touched by this commit  2.02_1
Revision:347779
bapt search for other commits by this committer
Convert p* to USES=zip
06 Mar 2014 18:54:06
Original commit files touched by this commit  2.02_1
Revision:347306
mat search for other commits by this committer
If GCC wasn't built with java support the port couldn't build and BUILD_DEPENDS
only made gcc recompile without actually solving the problem.  This patch
introduces pre-configure target to check for gcc java items and give a
meaningful explanation if none found.

Changed "-Wl,-rpath" to "LDFLAGS" in REINPLACE as suggested by Gerald Pfeifer
here
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=606002+0+archive/2013/svn-ports-head/20131208.svn-ports-head

PR:		186893
Submitted by:	Kozlov Sergey
Sponsored by:	Absolight
04 Jan 2014 12:54:52
Original commit files touched by this commit  2.02_1
Revision:338644
mat search for other commits by this committer
Another iteration on the path of finding the right fix.
16 Dec 2013 18:57:32
Original commit files touched by this commit  2.02
Revision:336657
mat search for other commits by this committer
Take those.
16 Dec 2013 18:24:49
Original commit files touched by this commit  2.02
Revision:336656
glarkin search for other commits by this committer
[Errno 11] Resource Temporarily Unavailable

Reassigning my ports back to the pool with the hope of freeing up
to do more FreeBSD work in the future.

Submitted by:	glarkin
29 Nov 2013 15:48:08
Original commit files touched by this commit  2.02
Revision:335189
mat search for other commits by this committer
Updated port to pdftk-2.02

Changes:
- Removed LOCAL master site, no distfile there obviously
- Moved USE_ZIP after BUILD_DEPENDS due to portlint warning
- Added LICENSE due to portlint warning
- Added LIB_DEPENDS. Libraries provided by gcc required to run the binary, but
gcc is registered only as build dependency. Removing the gcc after installation
of pdftk is permitted but breaks pdftk
- The port doesn't install any shared libraries, so there's no point in
USE_LDCONFIG
- Changed PLIST_FILES and removed MAN1 to support staging
- Removed ancient comment (mentioned gcc and FreeBSD versions are deprecated
long ago)
- Prepended STAGEDIR before PREFIX to support staging
- Corrected patch-pdftk__Makefile.Base to support new version
- REMOVED FILE file/patch-pdftk__Makefile.FreeBSD (is now provided by upstream)
- REMOVED FILE file/patch-java__Makefile (patch included by upstream)

maintainer timeout.

PR:		ports/183578
Submitted by:	Kozlov Sergey
06 Nov 2013 12:33:20
Original commit files touched by this commit  1.45_1
Revision:332982
mat search for other commits by this committer
- Support staging

maintainer timeout
PR:		ports/183237
Submitted by:	mat
26 Oct 2013 00:52:36
Original commit files touched by this commit  1.45_1
Revision:331644
gerald search for other commits by this committer
Update to libmpc version 1.0.1 which brings the following fixes:

 - Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
(Only the first 15 lines of the commit message are shown above View all of this commit message)
20 Sep 2013 22:44:00
Original commit files touched by this commit  1.45
Revision:327765
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
print)
04 Sep 2013 18:06:08
Original commit files touched by this commit  1.45
Revision:326307
madpilot search for other commits by this committer
- Make ports use the libc provided iconv implementation on 10-CURRENT
  after r254273
- Fix a bunch of ports to properly work after this
- Mark converters/libiconv as IGNORE for systems with iconv in libc

Reviewed by:	bapt
Approved by:	portmgr (bapt)
Discussed with:	bapt, bsam (who both contributed ideas and code)
17 Aug 2013 16:27:24
Original commit files touched by this commit  1.45
Revision:324851
gerald search for other commits by this committer
Replace USE_GCC=4.6+ and USE_GCC=4.4+ by USE_GCC=yes.

Right now this is a noop in the former case and a noop in the latter
case unless lang/gcc44 has been installed explicitly.

This puts a bit more emphasis on standardizing on a canonical version
"current" GCC and makes it easier to update that canonical version
by changing the default in Mk/bsd.gcc.mk and updating the lang/gcc port.

That is, USE_GCC=yes means "use a decent/modern version of GCC" without
having to worry about details.

Approved by:	portmgr (bdrewery)
19 Jul 2013 15:15:47
Original commit files touched by this commit  1.45
Revision:323303
glarkin search for other commits by this committer
- Fixed build on 10-CURRENT where /usr/bin/cpp is supplied by clang. The
  port now explicitly uses cpp46 which is supplied by the gcc dependency.

PR:		ports/177275
PR:		ports/177974
Submitted by:	Beeblebrox <zaphod@berentweb.com>
Submitted by:	Oliver Hartmann <ohartman@zedat.fu-berlin.de>
27 Apr 2013 18:25:25
Original commit files touched by this commit  1.45
Revision:316683
mva search for other commits by this committer
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
  USE_GETTEXT=yes to USES=gettext while here
17 Jan 2013 19:40:13
Original commit files touched by this commit  1.45
Revision:310563
glarkin search for other commits by this committer
- Trimmed Makefile header (forgot before previous commit)
17 Jan 2013 19:39:15
Original commit files touched by this commit  1.45
Revision:310562
glarkin search for other commits by this committer
- Updated to 1.45
  ChangeLog: http://www.pdflabs.com/docs/pdftk-version-history/

Reported by:	portscout
07 Aug 2012 23:22:17
Original commit files touched by this commit  1.44_1
gerald search for other commits by this committer
Remove an explicit BUILD_DEPENDS on lang/gccXY since we are already
using USE_GCC=4.6+.

These two conflict now that Mk/bsd.gcc.mk prefers lang/gcc over
lang/gcc46 when USE_GCC=4.6+ is specified.  Since the version of
GCC as a system compiler is 4.2, older than the minimum requested
by USE_GCC, and will not be updated, this BUILD_DEPENDS no longer
fulfills its original purpose.

This unbreaks this port.

Approved by:	portmgr (beat)
16 Nov 2011 02:06:56
Original commit files touched by this commit  1.44_1
glarkin search for other commits by this committer
- Change gcc dep from 4.5+ to 4.6+
- Bumped PORTREVISION

Requested by:   gerald (via email)
Feature safe:   yes
21 Mar 2011 20:47:45
Original commit files touched by this commit  1.44
mandree search for other commits by this committer
Remove support for FreeBSD 6.X and older.

Approved by: maintainer timeout (14 days)
PR:          ports/155348
20 Jan 2011 15:44:47
Original commit files touched by this commit  1.44
glarkin search for other commits by this committer
- Updated a comment regarding the gcjXX dependency, now that we're using
  gcc 4.5 instead of gcc 4.2.

Suggested by:   gerald
Feature safe:   yes
18 Nov 2010 13:45:22
Original commit files touched by this commit  1.44
glarkin search for other commits by this committer
- Rearranged the dependency order in the upstream Makefile to enable
  building with MAKE_JOBS_SAFE=yes

PR:             ports/152213
Submitted by:   Matthias Andree <matthias dot andree at gmx dot de>
12 Nov 2010 22:52:53
Original commit files touched by this commit  1.44
glarkin search for other commits by this committer
- Updated to 1.44 (http://www.pdflabs.com/docs/pdftk-version-history/)
- Removed a bunch of patches after upstream build system changes
- Added FreeBSD-specific Makefile (pushing to upstream)

Requested by:   Sid Steward <sid dot steward at pdflabs dot com> (author)
Reviewed by:    Alessandro de Manzano <demanzano at dqmicro dot it>
14 Oct 2010 14:12:15
Original commit files touched by this commit  1.41_3
glarkin search for other commits by this committer
- Updated WWW: link

Requested by:   sid dot steward at pdflabs dot com (upstream maintainer)
15 May 2010 19:27:51
Original commit files touched by this commit  1.41_3
gerald search for other commits by this committer
- Explicitly build with LANG=C since gcj does not handle all host charsets.

PR:             146227
Approved by:    glarkin (maintainer)
11 May 2010 23:12:59
Original commit files touched by this commit  1.41_3
glarkin search for other commits by this committer
- Mark BROKEN on 6.x.  gcjh45 core dumps on 6.x with no immediately obvious
  fix.  Will research and unbreak as soon as possible.

Reported by:    pointyhat (via pav) and user reports
11 May 2010 00:19:18
Original commit files touched by this commit  1.41_3
glarkin search for other commits by this committer
- Use gcc >= 4.5 instead of gcc == 4.5 to build

Requested by:   gerald
03 May 2010 19:56:44
Original commit files touched by this commit  1.41_3
glarkin search for other commits by this committer
- Build pdftk with gcj45 instead of gcj42
- Add a bunch of patch files to work around the Java duplicate symbol
  problem reported here (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42143)
  until a real fix is committed to the upstream toolchain
- Bump PORTREVISION
23 Feb 2010 21:53:05
Original commit files touched by this commit  1.41_2
glarkin search for other commits by this committer
- Restrict the gcc version to 4.2, not 4.2+, since 4.2 is the only
  version that includes gcj42 at the moment.

PR:             ports/143093
Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Feature safe:   yes
30 Dec 2009 23:57:53
Original commit files touched by this commit  1.41_1
glarkin search for other commits by this committer
- Force commit to add missing PR: field
- Unbreak and enable amd64 build, now that gcc42 port builds gcj42 on
  i386 and amd64

PR:             ports/140783
30 Dec 2009 23:54:59
Original commit files touched by this commit  1.41_1
glarkin search for other commits by this committer
- Unbreak and enable amd64 build, now that gcc42 port builds gcj42 on
  i386 and amd64
18 Dec 2009 21:00:03
Original commit files touched by this commit  1.41
glarkin search for other commits by this committer
- Mark BROKEN until gcj support is working on i386 and amd64

PR:             ports/140783
Reported by:    pointyhat
18 Dec 2009 18:18:02
Original commit files touched by this commit  1.41
erwin search for other commits by this committer
Attempt to fix the build by bumping the minimum gcc version to
4.4+ as java support was removed from earlier versions.

Submitted by:   pointyhat
18 Jan 2009 05:56:11
Original commit files touched by this commit  1.41
gerald search for other commits by this committer
Bump USE_GCC=4.1+ to USE_GCC=4.2+.
18 Jul 2008 21:05:20
Original commit files touched by this commit  1.41
glarkin search for other commits by this committer
Changed my MAINTAINER address to
glarkin@FreeBSD.org.

Approved by:    beech (mentor)
21 Jun 2008 09:15:50
Original commit files touched by this commit  1.41
miwi search for other commits by this committer
- Update to 1.41
- Pass maintainership to submitter

PR:             124763
Submitted by:   Greg Larkin <glarkin@sourcehosting.net>
22 Jan 2007 09:08:02
Original commit files touched by this commit  1.12_1
pav search for other commits by this committer
- Generalize libgcj dependency line

Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
18 Jan 2007 23:22:01
Original commit files touched by this commit  1.12_1
pav search for other commits by this committer
- Fix previous revision to DTRT
18 Jan 2007 17:26:28
Original commit files touched by this commit  1.12_1
pav search for other commits by this committer
- Allow usage of gcc 4.2 and up

PR:             ports/107837 (based on)
Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
05 Sep 2006 08:00:50
Original commit files touched by this commit  1.12_1
linimon search for other commits by this committer
Reset inactive maintainer who has not responded to email.

Hat:            portmgr
29 Jun 2006 19:24:29
Original commit files touched by this commit  1.12_1
stefan search for other commits by this committer
Convert BUILD_DEPENDS on lang/gcc41 to a LIB_DEPENDS, since pdftk is dynamically
linked to a couple of its libraries.

PR:             97259
Submitted by:   Stefan Thurner <thurners@nicsys.de>
Approved by:    maintainer timeout (>6 weeks)
                arved (mentor)
13 May 2006 01:03:17
Original commit files touched by this commit  1.12
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with P
11 May 2006 13:33:42
Original commit files touched by this commit  1.12
lawrance search for other commits by this committer
Remove BROKEN; gcj is now available from gcc41.

Submitted by:   Stefan Thurner <thurners@nicsys.de>
24 Jan 2006 06:38:31
Original commit files touched by this commit  1.12
edwin search for other commits by this committer
SHA256ify

Approved by: krion@
12 Dec 2005 14:08:08
Original commit files touched by this commit  1.12
vs search for other commits by this committer
Mark as BROKEN: Prerequisite gcj is not available from gcc41 at the moment
03 Nov 2005 07:51:44
Original commit files touched by this commit  1.12
pav search for other commits by this committer
- Unbreak by switching to gcc41's gcj

PR:             ports/88377
Submitted by:   Michael Joyner <mjoyner@ewc.edu>
23 Jul 2005 02:53:43
Original commit files touched by this commit  1.12
kris search for other commits by this committer
This port is scheduled for deletion on 2005-09-22 if it is still broken
at that time and no PRs have been submitted to fix it.
20 Jul 2005 23:43:18
Original commit files touched by this commit  1.12
kris search for other commits by this committer
BROKEN: Broken dependency
07 May 2005 09:09:40
Original commit files touched by this commit  1.12
pav search for other commits by this committer
- Nit: CXX is provided by USE_GCC

Submitted by:   Patrick Dung <patrick_dkt@yahoo.com.hk> (maintainer)
06 May 2005 17:27:27
Original commit files touched by this commit  1.12
pav search for other commits by this committer
- Remove duplicate USE_GCC

Spotted by:     gerald
05 May 2005 15:57:35
Original commit files touched by this commit  1.12
pav search for other commits by this committer
- Switch to gcc34, as gcc33 lost gcj lately

PR:             ports/80652
Submitted by:   Patrick Dung <patrick_dkt@yahoo.com.hk> (maintainer)
29 Nov 2004 20:08:05
Original commit files touched by this commit  1.12
thierry search for other commits by this committer
gcc33 is broken on amd64 and gcc34 have problem, then remove support of
amd64.

Submitted by:   maintainer.
27 Nov 2004 15:24:11
Original commit files touched by this commit  1.12
thierry search for other commits by this committer
AMD64's gcc34 port does not build gcj.
This make pdftk cannot compile on amd64.

PR:             ports/74400
Submitted by:   maintainer.
15 Nov 2004 12:18:58
Original commit files touched by this commit  1.12
thierry search for other commits by this committer
Upgrade to 1.12.

PR:             ports/71389
Submitted by:   maintainer.
30 Sep 2004 05:32:00
Original commit files touched by this commit  0.94.1
kris search for other commits by this committer
Increase USE_GCC to 3.4 for those ports which compile with it.

Approved by:    portmgr
26 Jul 2004 14:36:53
Original commit files touched by this commit  0.94.1
vs search for other commits by this committer
Update to 0.941 [0.94.1]

PR:             ports/69419
Submitted by:   Patrick Dung (maintainer)
11 May 2004 07:56:46
Original commit files touched by this commit  0.94
pav search for other commits by this committer
- gcj is not available on: ia64 sparc64

Suggested by:   kris
02 Apr 2004 01:47:27
Original commit files touched by this commit  0.94
pav search for other commits by this committer
Add pdftk, a simple tool for doing everyday things with PDF documents.
Keep one in the top drawer of your desktop and use it to:

Merge PDF Documents
Split PDF Pages into a New Document
Decrypt Input as Necessary (Password Required)
Encrypt Output as Desired
Burst a PDF Document into Single Pages
Report on PDF Metrics, including Metadata and Bookmarks
Uncompress and Re-Compress Page Streams
Repair Corrupted PDF (Where Possible)

PR:             ports/64555
Submitted by:   Patrick Dung <patrick_dkt@yahoo.com.hk>

Number of commits found: 58

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
dbusSep 17
nginxSep 16
nginx-develSep 16
phpmyadminSep 13
ossec-hids-clientSep 11
ossec-hids-localSep 11
ossec-hids-serverSep 11
chromiumSep 09
trafficserverSep 05
apache22*Sep 03
apache22-event-mpm*Sep 03
apache22-itk-mpm*Sep 03
apache22-peruser-mpm*Sep 03
apache22-worker-mpm*Sep 03
chromiumAug 26

7 vulnerabilities affecting 15 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24094
Broken 121
Deprecated 90
Ignore 385
Forbidden 17
Restricted 203
No CDROM 94
Vulnerable 22
Expired 2
Set to expire 85
Interactive 0
new 24 hours 5
new 48 hours7
new 7 days37
new fortnight139
new month242

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.