# -*- mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
# $Id: Portfile 56064 2009-08-24 00:47:13Z ryandesign@macports.org $

PortSystem 1.0
PortGroup python25 1.0

name                fuse-bindings-python25
epoch               1184537785; # seconds since epoch according to `date +%s`
version             0.2
categories          fuse python
maintainers         sfiera openmaintainer
description         Python 2.5 interface for FUSE
long_description    $description
homepage            http://apps.sourceforge.net/mediawiki/fuse/index.php?title=FusePython
platforms           darwin
master_sites        sourceforge:fuse

checksums           md5 68be744e71a42cd8a92905a49f346278 \
                    sha1 f2be16b1b72bedd85a6db2f2aaf22862de903640
distname            fuse-python-${version}

livecheck.distname      fuse-python

depends_build-append    path:bin/pkg-config:pkgconfig
depends_lib-append      port:macfuse

platform darwin {
    patchfiles      patch-_fusemodule.c
}

post-destroot {
    foreach item [glob -directory ${worksrcpath} example/*] {
            file copy ${item} ${destroot}${prefix}/share/doc/${name}/examples/
    }
}
