# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pdfrw version 0.1 categories-append graphics platforms darwin supported_archs noarch license MIT maintainers nomaintainer description Pure Python PDF file reader/writer library long_description pdfrw lets you read and write PDF files, including \ compositing multiple pages together (e.g. to do \ watermarking, or to copy an image or diagram from \ one PDF to another), and can output by itself, or \ in conjunction with reportlab. homepage http://code.google.com/p/pdfrw master_sites googlecode:pdfrw distname pdfrw_${version} checksums rmd160 108ebcbc7c422b663aa917306a6c6bd3f066f679 \ sha256 4dbb4017b179f1ecee947501d178a90e1ff0aaf6444ef24b5a630ee68e884919 python.versions 27 if {${name} ne ${subport}} { # Set this conditionally, or the stub port picks up an unnecessary # extract dependency. use_zip yes post-destroot { xinstall -m 755 -d \ ${destroot}${prefix}/share/doc/${subport} \ ${destroot}${prefix}/share/examples xinstall -m 644 -W ${worksrcpath} LICENSE.txt README.txt \ ${destroot}${prefix}/share/doc/${subport} copy ${worksrcpath}/examples \ ${destroot}${prefix}/share/examples/${subport} } livecheck.type none }