# -*- 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               cmake  1.1
PortGroup               github 1.0

github.setup            editorconfig editorconfig-core-c 0.12.10 v
github.tarball_from     archive
revision                0
categories              devel
license                 BSD
maintainers             {@TheRealKeto gmail.com:therealketo} openmaintainer

description             EditorConfig makes it easy to maintain the correct coding style
long_description        This code produces a program that accepts a filename as input and will \
                        look for .editorconfig files with sections applicable to the given file, \
                        outputting any properties found.

checksums               rmd160  925a0fb2f66d4887c085bf32360dc8c3c006e3f1 \
                        sha256  ab9f897a90fb36cfc34e5b67221e55ab0e3119b3512de8e31029d376c6bab870 \
                        size    77716

depends_build-append    path:bin/doxygen:doxygen
depends_lib-append      port:pcre2

use_parallel_build      no

post-destroot {
    xinstall -d ${destroot}${prefix}/share/doc/${name}
    xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
}
