# -*- 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
# $Id: Portfile 113077 2013-11-07 23:26:52Z ryandesign@macports.org $

PortSystem          1.0
PortGroup           github 1.0

github.setup        enferex pdfresurrect 0.12 v
categories          textproc
platforms           darwin
maintainers         ryandesign openmaintainer
license             GPL-3+

description         tool for analyzing PDF documents

long_description    PDFResurrect is a tool aimed at analyzing PDF documents. \
                    The PDF format allows for previous document changes to be \
                    retained in a more recent version of the document, thereby \
                    creating a running history of changes for the document. \
                    This tool attempts to extract all previous versions while \
                    also producing a summary of changes between versions. This \
                    tool can also “scrub” or write data over the original \
                    instances of PDF objects that have been modified or \
                    deleted, in an effort to disguise information from \
                    previous versions that might not be intended for anyone \
                    else to read.

checksums           rmd160  eac86fc1d85491a5d16204f3a902a46802810cbf \
                    sha256  5dca7ae185750eb5a4bf2bcab62b035a780138f42c75575bff132423ccca7ad0

patchfiles          patch-Makefile.in.diff

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        ChangeLog \
        LICENSE \
        README \
        ${destroot}${docdir}
}
