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

github.setup        ViennaRSS MMTabBarView 1.5.3 v/
revision            0
github.tarball_from archive
categories          devel
license             BSD
maintainers         nomaintainer
description         macOS Tab Bar View
long_description    MMTabBarView is a modernized and view based re-write of PSMTabBarControl

homepage            https://github.com/ViennaRSS/MMTabBarView

checksums           rmd160  d14018c162201cce54ed673a6262bcca88afa7dc \
                    sha256  cd190b0a72c500379db2982a794ba761816b7c7b1ecbc2a07488ac39de528bdc \
                    size    219872

xcode.configuration Release
xcode.scheme        "MMTabBarView Demo"
xcode.target        MMTabBarView

build.pre_args      -workspace default.xcworkspace \
                    -derivedDataPath ./DerivedData

destroot {
    file copy ${worksrcpath}/build/${xcode.configuration}/${name}.framework ${destroot}${frameworks_dir}
    xinstall -d -m 0755 ${destroot}${prefix}/share/${name}
    xinstall -m 0644    ${worksrcpath}/README.md \
                        ${destroot}${prefix}/share/${name}
}
