# -*- 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 qmake5 1.0 name oscar version 1.0.1 revision 0 # please increase revision with new build_number set build_number 1 # see https://gitlab.com/pholy/OSCAR-code/-/tags for upload_tag associated with version set upload_tag a102a85dbd18f2ed262dafab9960ab6ec354dc21 categories aqua license GPL-3 maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer description a cross platform, opensource sleep tracking program for reviewing CPAP and Oximetry data long_description OSCAR is ${description}, \ which are devices used in the treatment of Sleep Disorders like Obstructive Sleep Apnea. homepage https://www.sleepfiles.com/OSCAR/ master_sites https://gitlab.com/pholy/OSCAR-code/-/archive/${upload_tag} distname ${name}-${version}-r-${build_number} checksums rmd160 bdc792a14e5aa55227a989be241a035902f93161 \ sha256 4fc578d6401de582a4bfb9c8532e00bb345d4fe58afc1414bbd9a1d10a03ff47 \ size 4700391 qt5.min_version 5.7 worksrcdir OSCAR-code-${upload_tag} # see https://trac.macports.org/ticket/60079 patchfiles-append patch-nullptr.diff qt5.depends_build_component qttools depends_lib-append port:zlib qt5.depends_component qtserialport destroot { copy ${worksrcpath}/oscar/OSCAR.app ${destroot}${applications_dir} } livecheck.type regex livecheck.url https://gitlab.com/pholy/OSCAR-code/-/tags livecheck.regex { v(\d+(?:\.\d+)*)[^-]}