# -*- 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           codeberg 1.0
PortGroup           makefile 1.0

codeberg.setup      jbruchon libjodycode 4.1.2 v
revision            0
checksums           rmd160  c23a49dacca653b5607ae49d676188f24ec3aa0a \
                    sha256  a7085da591e0c314eb3442e7b258a6b6944e6978ecb2764ab33f3cb840f47ff4 \
                    size    48020

categories          devel
license             MIT
maintainers         nomaintainer
description         Library for imagepile, jdupes, winregfs, zeromerge.
long_description    ${name} is a software code library containing code \
                    shared among several of the programs written by \
                    Jody Bruchon such as imagepile, jdupes, winregfs, \
                    and zeromerge.

compiler.c_standard 2011

# Disable use of Intel extensions, as they also require aligned_alloc.
# And latter only available for 10.14+ x86_64 anyway.
# See: https://trac.macports.org/ticket/68041
build.args-append \
                    NO_SIMD=1

platform darwin 8 {
    depends_build-append \
                    port:gmake

    build.cmd       ${prefix}/bin/gmake
}
