source: trunk/dports/python/py-tiff/Portfile

Last change on this file was 130834, checked in by larryv@…, 3 years ago

py24-tiff: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- 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
2# $Id: Portfile 130834 2015-01-02 22:24:16Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-tiff
8version             0.1.6
9revision            1
10categories-append   graphics
11platforms           darwin
12maintainers         nomaintainer
13license             GPL-2+
14
15description         pytiff provides tiff handling and advanced imaging for Python
16
17long_description    ${description}
18
19homepage            http://www.haynold.com/software_projects/2004/pytiff/
20master_sites        ${homepage}
21distname            pytiff-${version}
22
23checksums           rmd160  5a473019cfe39e6448ca85326fb58a227ebce2d5 \
24                    sha256  fcbf4605c05cb35e861c851394541c4a41d0b8fd906f300339ab3d43e7489db5
25
26python.versions     27
27
28if {${name} ne ${subport}} {
29    depends_lib-append  port:tiff
30
31    post-extract {
32        fs-traverse item ${worksrcpath} {
33            if {[file isdirectory ${item}]} {
34                file attributes ${item} -permissions a+rx
35            } elseif {[file isfile ${item}]} {
36                file attributes ${item} -permissions a+r
37            }
38        }
39    }
40
41    patchfiles          patch-setup.py.diff
42
43    post-destroot {
44        xinstall -m 644 -W ${worksrcpath} CHANGES README \
45            ${destroot}${prefix}/share/doc/${subport}
46    }
47    livecheck.type      none
48} else {
49    livecheck.type      regex
50    livecheck.regex     pytiff-(\[0-9.\]+)${extract.suffix}
51}
Note: See TracBrowser for help on using the repository browser.