# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           fuse 1.0

name                mhddfs
version             0.1.10
revision            4
categories          fuse
license             GPL-3+
maintainers         nomaintainer
description         FUSE-based filesystem for combined mountpoints
long_description    This FUSE-based file system allows mount points (or directories) to be \
    combined, simulating a single big volume which can merge several hard disks.
homepage            http://mhddfs.uvw.ru/
platforms           macosx
master_sites        ${homepage}downloads/

checksums           rmd160  ff0502d220d4eb3aaa0c37ebf6989be66518d2b8 \
                    sha256  ec0485b028a3f53d49165f717e641dc02d8e581fd4dce3cd0065d2089d8e6c8e \
                    size    27419

depends_lib \
    port:libiconv

patchfiles patch-main.c.diff

distname            ${name}_${version}
worksrcdir          ${name}-${version}

use_configure no

destroot {
    xinstall -m 755 ${worksrcpath}/mhddfs ${destroot}${prefix}/bin
}

livecheck.regex     ${name}.(\[0-9.\]+)${extract.suffix}
