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

name            libemf
version         1.0.14
revision        0
categories      graphics
license         GPL-2+
maintainers     nomaintainer
description     Enhanced Metafile Library

long_description \
    libEMF is a library for generating Enhanced Metafiles on systems which \
    do not natively support the ECMA-234 Graphics Device Interface \
    (GDI). The library is intended to be used as a driver for other \
    graphics programs such as Grace or gnuplot. Therefore, it implements \
    a very limited subset of the GDI.

homepage        https://libemf.sourceforge.net
master_sites    sourceforge:project/libemf/libemf/${version}/

checksums       rmd160  0e392db817918c8a8f79c7b180d125ddee33a03f \
                sha256  05662a657c86ece56e21d7804f2c217c82f4dc535c5ad1d61c03b1fe43b0c188 \
                size    1128986

use_autoreconf  yes

depends_build-append \
                port:autoconf-archive \
                path:libexec/coreutils/libstdbuf.so:coreutils

patchfiles      patch-ppc.diff

compiler.cxx_standard   2014

test.run        yes
test.target     check
