# -*- 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.20.1
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  6346ce5b18368d9a09b0a44eddadd0c1d4dd084e \
                    sha256  890c2d7c53f4e05726d891e6211e6700d5724d6a4d29055282bb849f6eaae227 \
                    size    849573

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

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