# -*- 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 makefile 1.0 github.setup toy blueutil 2.9.1 v revision 0 checksums sha1 2740cd8d31805125104d75bf465198606e429ed4 \ rmd160 801c447c77c3b90fed49205b7bec512fc141efa2 \ sha256 afb065d1ea202bee0ea543d560ffbfbe5c0877f4644ee0a3c10f7f07e6e91cd3 \ size 18564 categories sysutils platforms darwin maintainers {dons.net.au:darius @DanielO} license BSD description CLI for Bluetooth on macOS long_description Command line interface for Bluetooth on macOS, \ control power, discoverable state, list paired \ devices, pair new devices, connect and disconnect \ devices, and check if a device is connected. if { ${os.platform} eq "darwin" && ${os.major} <= 12} { known_fail yes pre-fetch { ui_error "${name} @${version} requires OS X 10.9 or later." return -code error "Unsupported platform" } } patchfiles blueutil-Makefile.diff # error: use of undeclared identifier '_errorCode' supported_archs arm64 x86_64 configure.cppflags-delete -I${prefix}/include configure.ldflags-delete -L${prefix}/lib makefile.prefix_name prefix makefile.override PREFIX post-destroot { xinstall -d -m 0755 ${destroot}${prefix}/share/${name} xinstall -m 0644 -W ${worksrcpath} README.md LICENSE.txt CHANGELOG.md \ ${destroot}${prefix}/share/${name}/ } test.run yes test.args test.cmd echo y | ./test