# -*- 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           legacysupport 1.1

# On <10.15 built-in libc++ has no support for std::filesystem
legacysupport.newest_darwin_requires_legacy \
                    18
legacysupport.use_mp_libcxx \
                    yes

github.setup        emcrisostomo fswatch 1.19.0
github.tarball_from releases

categories          sysutils
license             GPL-3

maintainers         {emcrisostomo @emcrisostomo} openmaintainer

description         File change monitor
long_description    A cross-platform file change monitor with multiple \
                    backends: Apple OS X File System Events, *BSD kqueue, \
                    Solaris/Illumos File Events Notification, Linux inotify, \
                    Microsoft Windows and a stat()-based backend.

homepage            https://emcrisostomo.github.io/fswatch/

checksums           rmd160  045fd4aedd2edb7cc3ce4e5077ae20e88322caf3 \
                    sha256  c0f10b0961af73496247501f3a6cad61e3a71018b87ec14e580b3bf4c5d9427d \
                    size    815740

compiler.cxx_standard   2017
configure.args      ac_cv_prog_AWK=/usr/bin/awk

livecheck.url       ${github.homepage}/releases/latest
