f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~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
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv# $Id$
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvPortSystem 1.0
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvPortGroup python 1.0
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvname py-sk1libs
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvversion 0.9.1
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvrevision 101
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvlicense LGPL-2
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvmaintainers nomaintainer
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvcategories python graphics
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvplatforms darwin
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvhomepage http://sk1project.org/
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvdescription Set of python non-GUI extensions for sK1 Project
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvlong_description \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv sk1libs is a set of python non-GUI extensions for sK1 Project. \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv The package includes multiplatform non-GUI extensions which are \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv usually native extensions.
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvdistname sk1libs-${version}
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv# MacPorts does not properly support URLs with a get parameter.
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv# Workaround for this bug: https://trac.macports.org/wiki/PortfileRecipes#fetchwithgetparams
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvmaster_sites http://sk1project.org/dc.php?target=${distfiles}&dummy=
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvchecksums md5 e18088bbc8a105e7535a96f40b80f284 \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv sha1 dd948558128bb6547b1f277087bf3066104912da \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv rmd160 38f22205e0b5b6078e31ec6dc4c1d93845533046
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvpython.versions 25 26 27
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvif {$subport != $name} {
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv depends_lib-append \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv port:freetype \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv port:jpeg \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv port:lcms \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv port:zlib
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv depends_run-append \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv port:py${python.version}-pil
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv variant Pillow {
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv depends_run-delete port:py${python.version}-pil
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv depends_run-append port:py${python.version}-Pillow
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv }
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv patchfiles \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv patch-src-utils-fs.py.diff \
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv patch-src-imaging-libimagingft-_imagingft.c.diff
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv post-patch {
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv reinplace "s|'/usr/include/freetype2'|'${prefix}/include/freetype2'|g" ${worksrcpath}/setup.py
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/src/utils/fs.py
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv }
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv}
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suv
74ccdc8ff418998513e72e36e77dc954d77e3e10~suvdefault_variants +Pillow
74ccdc8ff418998513e72e36e77dc954d77e3e10~suv
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvlivecheck.type regex
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvlivecheck.url http://sk1project.org/modules.php?name=Products&product=uniconvertor&op=download
f7b499d11542a2d5f93ba2d3c7c268e6d6d045bb~suvlivecheck.regex "sk1libs-(\\d+(?:\\.\\d+)*)${extract.suffix}"