# $Id: Portfile 86742 2011-11-02 21:38:21Z jmr@macports.org $

PortSystem          1.0
PortGroup           python24 1.0

name                py-reportlab
version             2.3
revision            1
license             BSD
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_2_3
checksums           md5     057b846bd3b7b2c3498bf14f6a523632 \
                    sha1    cb5e27fef02eceaab79236d5a074cdfb92bff179 \
                    rmd160  ebb347765d516e74b965ec89c7909ec7592e3f54
depends_lib-append  port:py24-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}
}
