# -*- 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-tiff version 0.1.6 revision 1 categories-append graphics platforms darwin maintainers nomaintainer license GPL-2+ description pytiff provides tiff handling and advanced imaging for Python long_description ${description} homepage http://www.haynold.com/software_projects/2004/pytiff/ master_sites ${homepage} distname pytiff-${version} checksums rmd160 5a473019cfe39e6448ca85326fb58a227ebce2d5 \ sha256 fcbf4605c05cb35e861c851394541c4a41d0b8fd906f300339ab3d43e7489db5 python.versions 27 if {${name} ne ${subport}} { depends_lib-append port:tiff post-extract { fs-traverse item ${worksrcpath} { if {[file isdirectory ${item}]} { file attributes ${item} -permissions a+rx } elseif {[file isfile ${item}]} { file attributes ${item} -permissions a+r } } } patchfiles patch-setup.py.diff post-destroot { xinstall -m 644 -W ${worksrcpath} CHANGES README \ ${destroot}${prefix}/share/doc/${subport} } livecheck.type none } else { livecheck.type regex livecheck.regex pytiff-(\[0-9.\]+)${extract.suffix} }