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

name                py-llfuse
version             1.5.2
revision            0
categories-append   devel fuse
license             LGPL-2+
maintainers         nomaintainer

description         Python bindings for the low-level FUSE API
long_description    Python-LLFUSE is a set of Python bindings for the low \
                    level FUSE API.
homepage            https://github.com/python-llfuse/python-llfuse/
checksums           rmd160  2a446a633eb7be03eccb0fc36655f268595939ce \
                    sha256  3f7fdc86e3db433c48cb6505fe3000ec1b3e84a4a40a84ad67b8df3a847f0697 \
                    size    1010784

python.versions     310 311 312 313 314

if {${name} ne ${subport}} {
    depends_build-append    path:bin/pkg-config:pkgconfig

    if {[string match *gcc-4.* ${configure.compiler}]} {
        patchfiles-append   patch-gcc4.diff
    }

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