# -*- 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
PortGroup           makefile 1.0

# getdelim
legacysupport.newest_darwin_requires_legacy 10

github.setup        hoytech vmtouch 1.3.1 v
revision            0
checksums           rmd160  9b0bad2d9f154b099e5daa0ec9ca6c550690f3a8 \
                    sha256  d57b7b3ae1146c4516429ab7d6db6f2122401db814ddd9cdaad10980e9c8428c \
                    size    20311

categories          sysutils
maintainers         {ryandesign @ryandesign} openmaintainer
license             BSD

description         portable file system cache diagnostics and control

long_description    ${name} is a tool for learning about and controlling the \
                    file system cache of unix and unix-like systems.

homepage            https://hoytech.com/vmtouch/
github.tarball_from archive

depends_build       bin:pod2man:perl5

patchfiles-append   install.patch
patchfiles-append   opt.patch

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} \
        CHANGES \
        LICENSE \
        README.md \
        TODO \
        ${destroot}${docdir}
}
