# -*- 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: Portfile 78898 2011-05-26 00:42:06Z ryandesign@macports.org $

PortSystem              1.0

name                    ecore
epoch                   2
version                 1.0.1
description             Ecore is a core event abstraction layer.
long_description        It is the core event abstraction layer and \
                        X abstraction layer that makes doing selections, \
                        Xdnd, general X stuff, and event loops, timeouts \
                        and idle handlers fast, optimized, and convenient. \
                        It's a separate library so anyone can make use \
                        of the work put into Ecore to make this job \
                        easy for applications.
maintainers             ryandesign openmaintainer
categories              devel x11
platforms               darwin

homepage                http://trac.enlightenment.org/e/wiki/Ecore
master_sites            http://download.enlightenment.org/releases/
use_bzip2               yes

checksums               sha1    6ba1af3dc4d4016b1db68df66cab992e2fa57208 \
                        rmd160  b7d98f0d270117971bc32d048f3ab9f2d214dc15

depends_lib             port:evas \
                        port:curl \
                        port:xorg-libXScrnSaver \
                        port:xorg-libXp \
                        port:xorg-libXtst

patchfiles              patch-src-lib-ecore_evas-ecore_evas_x.c.diff

configure.args          --enable-ecore-x \
                        --enable-simple-x11

use_parallel_build      yes

livecheck.type          regex
livecheck.url           [lindex ${master_sites} 0]
livecheck.regex         ${name}-(\[0-9a-z.\]+)${extract.suffix}
