d77a920e949c865a25cba18261a54fa1ec6c87c8~suv# -*- 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
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv# $Id: Portfile 104088 2013-03-15 14:39:56Z stromnov@macports.org $
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvPortSystem 1.0
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvPortGroup python 1.0
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvname py25-Pillow
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvset real_name py-Pillow
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvversion 1.7.8
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvrevision 100
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvcategories-append devel
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvplatforms darwin
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvlicense BSD
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvpython.versions 25
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvpython.version 25
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvmaintainers stromnov openmaintainer
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvdescription Python Imaging Library (fork)
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvlong_description ${description}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvhomepage http://github.com/python-imaging/Pillow
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvmaster_sites http://pypi.python.org/packages/source/P/Pillow/
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvdistname Pillow-${version}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvuse_zip yes
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvchecksums rmd160 e52cec02d943951a80d30b32b1764cb3ae87b283 \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv sha256 907f5342b1df1d277dcc10df2aeabc61099e5a07e0676b9fcd1bb7379890c0ee
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvif {$subport == $name} {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv conflicts py${python.version}-pil
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv depends_build port:py${python.version}-setuptools
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv depends_lib-append \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv port:zlib \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv port:jpeg \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv port:tiff \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv port:lcms \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv port:webp \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv port:freetype
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv patchfiles patch-setup.py-v1.7.8.diff \
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv patch-_imagingft.c.diff
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv post-patch {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.py
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv }
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv livecheck.type none
117724f21a94ff32f773af4c37be88fe0d2970e3~suv#} else {
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# livecheck.type regex
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# livecheck.url ${master_sites}
117724f21a94ff32f773af4c37be88fe0d2970e3~suv# livecheck.regex "Pillow-(\\d+(?:\\.\\d+)*)${extract.suffix}"
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvvariant quartz conflicts x11 tkinter {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv # tkinter doesn't build
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvvariant x11 conflicts quartz {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv # tkinter does build
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvvariant tkinter description {with tkinter support} {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv if {$subport == $name} {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv depends_lib-append port:py${python.version}-tkinter
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv }
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv#if { ![variant_isset quartz] } {
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv# default_variants-append +tkinter
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv#}
d77a920e949c865a25cba18261a54fa1ec6c87c8~suv
d77a920e949c865a25cba18261a54fa1ec6c87c8~suvdefault_variants -tkinter