# $Id: Portfile 82547 2011-08-15 16:46:16Z jmr@macports.org $

PortSystem                      1.0
PortGroup                       perl5 1.0

perl5.setup                     CAM-PDF 1.52
revision                        3
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

if {${perl5.major} != ""} {
    patchfiles			patch-lib-CAM-PDF.pm
    
    checksums           md5     ab4914a3f07dd2d8cc23f2cdee8f7ce3 \
                        sha1    d0ecb93f0c67d4986a5e06d4bb891c358a25ab8f \
                        rmd160  8ec766c8ca3561b64573ddf228bdafdc3b0546ca
    
    depends_lib-append              port:p${perl5.major}-crypt-rc4 \
                                    port:p${perl5.major}-text-pdf
    
    supported_archs noarch
}

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