# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories textproc graphics pdf
maintainers {ryandesign @ryandesign}
homepage https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
pdftk - PDF Toolkit, for various operations on PDF files
pdftk is a simple tool for doing everyday things with PDF documents: \
Split PDF Pages into a New Document \
Decrypt Input as Necessary (Password Required) \
Encrypt Output as Desired \
Fill PDF Forms with FDF Data and/or Flatten Forms \
Apply a Background Watermark \
Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels \
Attach Files to PDF Pages or the PDF Document \
Burst a PDF Document into Single Pages \
Uncompress and Re-Compress Page Streams \
Repair Corrupted PDF (Where Possible)
checksums rmd160 4d9e75abc4a966041bd0be7b1db13bb73819d2ae \
sha256 118f6a25fd3acaafb58824dce6f97cdc07e56050e666b90e4c4ef426ea37b8c1 \
distname ${name}-${version}-src
worksrcdir ${name}-${version}-dist
depends_lib port:libiconv \
build.dir ${worksrcpath}/${name}
patchfiles patch-Makefile.OSX-10.6.diff
reinplace "s|@PREFIX@|${prefix}|g" ${build.dir}/Makefile.OSX-10.6
build.args-append VERSUFF=${versuff}
build.args-append -f Makefile.OSX-10.6