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

github.setup        pooler cpuminer 2.5.1 v
revision            0
checksums           rmd160  f408fddd6e16ad8d54115e6b3d8fd0f0a6fae5d1 \
                    sha256  eac6bfc4e1924a5743ce5dec79c9502fe15f2181b22d205e320cb8d64d0bd39c \
                    size    118893

categories          finance
maintainers         nomaintainer
platforms           darwin
license             GPL-2

description         Multi-threaded CPU miner for Litecoin and Bitcoin
long_description    ${description}

github.tarball_from archive

depends_lib-append  port:curl \
                    port:jansson

patchfiles          arm64.patch

use_autoreconf      yes
configure.checks.implicit_function_declaration.whitelist-append strchr

pre-configure {
    system -W ${worksrcpath} "./nomacro.pl"
}
