# -*- 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

PortSystem          1.0
PortGroup           github 1.0

github.setup        enferex pdfresurrect 0.15 v
categories          textproc
platforms           darwin
maintainers         {ryandesign @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  2102aef2302192ca678b8ec5b701ceca747c7a85 \
                    sha256  024f8d474063bdecce31d505485e69e90f2b5a3c815159167d1bf2b0ad9eae1c \
                    size    66268

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