# $Id: Portfile 55403 2009-08-10 08:32:41Z ryandesign@macports.org $

PortSystem              1.0

name                    evas
version                 0.9.9.038
categories              devel x11
platforms               darwin
maintainers             nomaintainer
homepage                http://www.enlightenment.org
master_sites            http://enlightenment.freedesktop.org/files

description             Evas is a hardware-accelerated canvas API for X11.

long_description        Evas is a hardware-accelerated canvas API for \
                        X-Windows that can draw anti-aliased text, smooth \
                        super and sub-sampled images, alpha-blend, as well \
                        as drop down to using normal X11 primitives such as \
                        pixmaps, lines and rectangles for speed if your CPU \
                        or graphics hardware are too slow.

checksums               md5     6eb1b18ed8b17d0db9b9f794b2a73c92 \
                        sha1    31c2007c6781e7d50fc4b0233efe5d1718a958e0 \
                        rmd160  a921f7274434a099b21e7a6fbe33ac74d53cc238

depends_lib             port:eet \
                        port:glitz \
                        path:lib/pkgconfig/cairo.pc:cairo \
                        port:tiff \
                        port:imlib2 \
                        path:include/gif_lib.h:giflib

configure.args          --mandir=${prefix}/share/man \
                        --enable-glitz-x11 \
                        --enable-gl-x11 \
                        --enable-buffer

variant with_svg description "Add SVG support" {
    depends_lib-append  port:librsvg
}
