# -*- 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

PortSystem              1.0
PortGroup               openssl 1.0

name                    ecore
epoch                   2
version                 1.7.10
revision                2

categories              devel x11
maintainers             nomaintainer
license                 BSD

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.

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

checksums               rmd160  27379aae0e34f0bc59eabffcf1565fae74d33d2d \
                        sha256  c3f27ab18517b85b286871c6c7ccf8e22347f0661502db0fbf401537fa5a4bb6

depends_build           port:pkgconfig

# see https://stackoverflow.com/questions/47518843/error-field-ctx-has-incomplete-type-evp-cipher-ctx
openssl.branch          1.0
depends_lib             port:evas \
                        port:curl \
                        port:libgcrypt \
                        port:xorg-libXScrnSaver \
                        port:xorg-libXp \
                        port:xorg-libXtst

configure.args          --disable-silent-rules \
                        --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}
