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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         CAM-PDF 1.60
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Reads and writes any document that conforms to PDF v1.4
long_description    This package reads and writes any document that \
                    conforms to the PDF specification generously provided by Adobe at \
                    http://partners.adobe.com/asn/developer/acrosdk/docs/filefmtspecs/PDFReference.pdf \
                    (3rd edition, for PDF v1.4 as of May 2002)

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  dbf72f375ce57845f012bcf24443b888266b83d8 \
                    sha256  e76afc7f38a624924a77c5c988c36c9e388bfa7716e75cd397fef8e1b42ebb89

if {${perl5.major} != ""} {
    patchfiles      patch-lib-CAM-PDF.pm

    depends_lib-append \
                    port:p${perl5.major}-crypt-rc4 \
                    port:p${perl5.major}-text-pdf
}

## Note: CAM-PDF requires Digest::MD5, this is present in base perl 5.8.8.
