# $Id: Portfile 86724 2011-11-02 05:04:44Z jmr@macports.org $

PortSystem          1.0
PortGroup           python27 1.0

name                py27-reportlab
version             2.5
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-${version}
checksums           md5     cdf8b87a6cf1501de1b0a8d341a217d3 \
                    sha1    49bd7c2c0b42569323fe4726cac696d4249cd1a5 \
                    rmd160  adc6db9f724c18988acbc85595acc95b8511f40b
depends_lib-append  port:py27-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}
}
