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

# clock_gettime
legacysupport.newest_darwin_requires_legacy 15

# 1.96+ are broken with fuse 2 and require either being fixed or using fuse-t.
# Upstream does not care to fix that.
github.setup        s3fs-fuse s3fs 1.95 v
revision            0
categories          fuse
maintainers         {adfernandes @adfernandes} openmaintainer
description         Amazon S3 filesystem for FUSE
long_description    \
    FUSE-based file system backed by Amazon S3. Mount a bucket \
    as a local file system read/write. Store files/folders natively \
    and transparently.

license             GPL-2

checksums           rmd160  267875cbd950bfcce6a9575a3edc6db9f28f0207 \
                    sha256  0c97b8922f005500d36f72aee29a1345c94191f61d795e2a7b79fb7e3e6f5517 \
                    size    285599
github.tarball_from archive

use_autoreconf      yes

depends_lib-append \
    port:curl \
    port:libxml2 \
    path:bin/ssh:openssh

# cc1plus: error: unrecognized command line option "-std=c++11"
compiler.cxx_standard   2011
