# -*- 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: Portfile 114082 2013-11-28 13:15:51Z stromnov@macports.org $ PortSystem 1.0 PortGroup python 1.0 name py-Pillow version 2.2.1 revision 1 categories-append devel platforms darwin license BSD python.versions 26 27 32 33 maintainers stromnov openmaintainer description Python Imaging Library (fork) long_description ${description} homepage http://github.com/python-imaging/Pillow master_sites http://pypi.python.org/packages/source/P/Pillow/ distname Pillow-${version} checksums rmd160 7750b2a81b0963576febc069628548626269fdd6 \ sha256 a8440145d6e08db16f2a03b134b057c4524809e18a06cc8fe0e5e885dc4d8969 if {$subport != $name} { use_zip yes conflicts py${python.version}-pil depends_build port:py${python.version}-setuptools depends_lib-append port:py${python.version}-tkinter \ port:zlib \ port:jpeg \ port:tiff \ port:lcms \ port:webp \ port:freetype patchfiles patch-setup.py.diff \ patch-_imagingft.c.diff post-patch { reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py } livecheck.type none } else { livecheck.type regex livecheck.url ${master_sites} livecheck.regex {Pillow-(\d+(?:\.\d+)*)\.[tz]} }