Comment on pdftk

To clear up anoved's comment below: The download link above actually goes to an installer that includes the binary plus all necessary libraries (in contrast to anoved's binary which is unusable without the gcj libraries).

For the record, I also started building this with MacPorts, until I noticed it had started downloading gcc 4.2... supposedly an 8-hour build(!). This is because it needs gcj (no, it's written in C++ but for some diabolical reason they insist on linking up some Java libraries... so why not write the app in Java in the first instance?). brian d foy has an amusing article on compiling pdftk in his oreillynet column. Take my advice and stick to the binary installer.