# -*- 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        tml1024 FluffyDisplay 1.0(5)
revision            0
checksums           rmd160  eacec744a40579d30b90749a0b4ce9986925ffc9 \
                    sha256  3314f960f161357ba1e7d363eb6e3a2d90b716913c8b05901d3daa633b0d84f9 \
                    size    20251

version             [string map {( . ) {}} ${github.version}]
categories          sysutils
maintainers         {ryandesign @ryandesign} openmaintainer
license             Apache-2

description         create virtual displays/screens/monitors

long_description    ${name} lets you {*}${description} on your primary \
                    Mac so that you could connect to them from a \
                    second computer using VNC or screen sharing and \
                    thereby use your second computer's display to \
                    extend your primary Mac's screen space.

github.tarball_from archive

patchfiles          resolutions.patch

xcode.configuration Release

build.args          CODE_SIGN_IDENTITY=

destroot {
    copy ${worksrcpath}/build/${xcode.configuration}/${name}.app ${destroot}${applications_dir}/
    set docdir ${prefix}/share/doc/${name}
    xinstall -d ${destroot}${docdir}
    xinstall -W ${worksrcpath} -m 0644 LICENSE README.md ${destroot}${docdir}/
}
