# -*- 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                    eet
epoch                   2
version                 1.7.10
revision                5

categories              devel x11
maintainers             nomaintainer
license                 BSD

description             EET is a library for writing sets of data.

long_description        EET is a tiny library designed to write an \
                        arbitary set of chunks of data to a file and \
                        optionally compress each chunk (very much like \
                        a zip file) and allow fast random-access \
                        reading of the file later on. It does not \
                        do zip as a zip itself has more complexity \
                        than is needed, and it was much simpler to \
                        impliment this once here.

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

checksums               rmd160  c748ab6f2d088f05657f87f3c6b77b1d0e527067 \
                        sha256  c3de7be3b0f72f154e40fb2ef794e26541722b9d9d93d5a356dc76c42f5d7c13

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             path:include/turbojpeg.h:libjpeg-turbo port:zlib port:eina

configure.args          --disable-doc \
                        --disable-gnutls \
                        --disable-silent-rules

use_parallel_build      yes

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