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

github.setup            mstarke HNHUi 6.0
github.tarball_from     archive
categories              devel
platforms               darwin
license                 BSD
maintainers             nomaintainer
description             Reusable Cocoa UI Components
long_description        ${description}
homepage                https://github.com/mstarke/${name}

xcode.scheme            HNHUi
xcode.target            HNHUi
xcode.configuration     Release
xcode.destroot.type     framework

xcode.destroot.settings CODE_SIGN_STYLE=Manual \
                        CODE_SIGN_IDENTITY=- \
                        ENABLE_HARDENED_RUNTIME=NO \
                        SKIP_INSTALL=NO \
                        INSTALL_DIR=${destroot}${frameworks_dir} \
                        LD_DYLIB_INSTALL_NAME=${prefix}/Library/Frameworks/${name}.framework/Versions/A/${name} \

# Building will be done in the destroot phase.
# See https://trac.macports.org/ticket/57137
build {}

# xcode PortGroup sets the DerivedData to /var/root/... which is not writeable. This fixes it.
destroot.pre_args-append -derivedDataPath ./DerivedData

checksums       rmd160  3cd9f7656a2262c5026174d2db81f1cada602257 \
                sha256  2e1ebbb2be686c3e9c30416967bc7c5e46a68f36f10475fa7806fc0aab6c77e8 \
                size    33873
