# -*- 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 name mandelbrot-set-viewer version 5.01 set python_version 27 categories graphics platforms darwin maintainers nomaintainer license unknown description Python Mandelbrot Set Viewer long_description ${description} homepage http://pygame.org/project-Mandelbrot+Set+Viewer-698-4788.html master_sites http://www.geometrian.com/data/programming/projects/Mandelbrot%20Set/Viewer%20${version}/ distname Mandelbrot Set Viewer ${version} worksrcdir ${version} use_zip yes supported_archs noarch checksums rmd160 2324558ff47c91453650156c9137dffe87bcfbf4 \ sha256 1cf037a2b0b759e5702e2cc06261d110179fe5a8e6deaa4fc8bc069780e17a93 patchfiles patch-main.py.diff depends_run port:py${python_version}-game \ port:py${python_version}-opengl \ port:python${python_version} use_configure no build {} destroot { file mkdir ${destroot}${prefix}/share/${name} xinstall -m 644 -W ${worksrcpath} README.txt config.py ${destroot}${prefix}/share/${name} xinstall -m 755 -W ${worksrcpath} gl_shader.py main.py ${destroot}${prefix}/share/${name} file rename ${destroot}${prefix}/share/${name}/config.py ${destroot}${prefix}/share/${name}/config.py.dist } post-activate { if {![file exists ${prefix}/share/${name}/config.py]} { file copy ${prefix}/share/${name}/config.py.dist ${prefix}/share/${name}/config.py } } notes "To run this program, type 'python2.7 ${prefix}/share/${name}/main.py'. You can modify the output by changing ${prefix}/share/${name}/config.py" livecheck.url ${homepage} livecheck.regex Mandelbrot Set Viewer - (\\d+(\\.\\d+)+)