# $Id: Portfile 67067 2010-04-28 10:52:35Z ryandesign@macports.org $

PortSystem                      1.0
PortGroup                       perl5 1.0
version                         1.52
revision                        1
perl5.setup                     CAM-PDF ${version}
maintainers                     ricci
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

patchfiles			patch-lib-CAM-PDF.pm

checksums           md5     ab4914a3f07dd2d8cc23f2cdee8f7ce3 \
                    sha1    d0ecb93f0c67d4986a5e06d4bb891c358a25ab8f \
                    rmd160  8ec766c8ca3561b64573ddf228bdafdc3b0546ca

depends_lib-append              port:p5-crypt-rc4 \
                                port:p5-text-pdf

master_sites                    http://search.cpan.org/CPAN/authors/id/C/CD/CDOLAN/
distfiles                       CAM-PDF-${version}.tar.gz

if {[info exists supported_archs]} {
    supported_archs noarch
} else {
    universal_variant no
}

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

