# $Id: Portfile 65558 2010-03-27 20:08:36Z blb@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-reportlab
version             2.4
categories          python
maintainers         nomaintainer
platforms           darwin freebsd
description         python library for creating pdf files
long_description \
   ReportLab is a software library that lets you directly create documents \
   in Adobe's Portable Document Format (PDF) using the python programming \
   language.

homepage            http://www.reportlab.org/rl_toolkit.html
master_sites        http://www.reportlab.org/ftp/
distname            ReportLab_[join [split ${version} .] _]
checksums           md5     e6dc4b0fbfb6814f7777e5960774cb5d \
                    sha1    31ecc9ff0f55ce3c5fddaa909dd48b6e9e9a20ce \
                    rmd160  7a7198b9934b1f993dbb49705d93cc4b78b45012
depends_lib-append  port:py26-numeric port:py26-pil

patchfiles          patch-src_reportlab_lib_testutils.py.diff

post-destroot {
   xinstall -m 644 -W ${worksrcpath} README.txt CHANGES.txt LICENSE.txt \
      ${destroot}${prefix}/share/doc/${name}
}

