Ticket #32845: Portfile

File Portfile, 1.2 KB (added by drkp (Dan Ports), 13 years ago)
Line 
1# -*- mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2# $Id: Portfile 83483 2011-09-03 07:28:40Z dports@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                py-fuse
8version             0.2
9categories          fuse python
10maintainers         sfiera openmaintainer
11description         Python interface for FUSE
12long_description    $description
13homepage            http://apps.sourceforge.net/mediawiki/fuse/index.php?title=FusePython
14platforms           darwin
15master_sites        sourceforge:fuse
16
17checksums           rmd160  dfefb8a632b52b104beacc3435f1d7a67e679073 \
18                    sha256  89f3e9ac096759e10b6292632216c9653d7e35c2c99847267173d94afdf85b92
19
20distname            fuse-python-${version}
21
22python.versions 24 25 26 27
23python.default_version 27
24
25livecheck.distname      fuse-python
26
27depends_build-append    path:bin/pkg-config:pkgconfig
28depends_lib-append      path:lib/pkgconfig/fuse.pc:fuse4x
29
30platform darwin {
31    patchfiles      patch-_fusemodule.c
32}
33
34post-destroot {
35    foreach item [glob -directory ${worksrcpath} example/*] {
36            file copy ${item} ${destroot}${prefix}/share/doc/${subport}/examples/
37    }
38}
39