# $Id: Portfile 75159 2011-01-17 02:00:53Z rmstonecipher@macports.org $

PortSystem              1.0

name                    xaos
version                 3.5
revision                1
categories              graphics
maintainers             nomaintainer
homepage                http://xaos.sourceforge.net/
platforms               darwin
master_sites            sourceforge

description             real-time interactive fractal zoomer

long_description        XaoS is a fast portable real-time interactive \
                        fractal zoomer. It displays the Mandelbrot set \
                        (among other escape time fractals) and allows you to \
                        zoom smoothly into the fractal. Various coloring \
                        modes are provided for both the points inside and \
                        outside the selected set. In addition, switching \
                        between Julia and Mandelbrot fractal types and \
                        on-the-fly plane switching is provided. The first \
                        version was a minimal X Window Mandelbrot viewer \
                        by Thomas later modified by Jan to support high \
                        frame-rate zooming. Other additions were later \
                        made by both Thomas and Jan including autopilot \
                        (for those of you without drivers licenses), \
                        palette changing, GIF saving, and fractal inversion.

checksums               md5     465d1469b276501a58bf325e493ea591 \
                        sha1    6d16a58187fba7276e6bd0547cc2fd6bb073b801 \
                        rmd160  193553818646fbf2d7c9f0c855ca3123446e16bc

depends_lib             port:xorg-libXext \
                        port:libpng \
                        port:gsl

# Fix "make: `install' is up to date" on case-insensitive filesystems.
patchfiles              patch-Makefile.in.diff

configure.cflags-append -I${prefix}/include
configure.args          --with-long-double=yes \
                        --disable-nls \
                        --mandir=${prefix}/share/man \
                        --infodir=${prefix}/share/info \
                        --x-includes=${prefix}/include \
                        --x-libraries=${prefix}/lib

configure.universal_args-delete --disable-dependency-tracking
