# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem                  1.0
PortGroup                   github 1.0
PortGroup                   makefile 1.0

github.setup                mrmidi ASFireWire 0.3.0 v
revision                    0
categories                  devel
maintainers                 {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
license                     Apache-2
description                 DriverKit OHCI FireWire Host Controller for macOS
long_description            {*}${description}
checksums                   rmd160  0dd147aafa3759f49a6cba48875ce6894327748b \
                            sha256  e6b5e27a8bcbfbb5a8caf2d344a3daff3b4db199ae1b66c7150b6960a579e061 \
                            size    111148
github.tarball_from         archive

use_xz                      yes
distname                    asfw-legacy-src
extract.mkdir               yes

compiler.cxx_standard       2023

build.target

if {[string match *gcc* ${configure.compiler}] && ${configure.build_arch} in [list arm i386 ppc]} {
    build.cmd-prepend       LDLIBS=-latomic
}
