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 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup python 1.0 |
---|
6 | |
---|
7 | name py-fuse |
---|
8 | version 0.2 |
---|
9 | categories fuse python |
---|
10 | maintainers sfiera openmaintainer |
---|
11 | description Python interface for FUSE |
---|
12 | long_description $description |
---|
13 | homepage http://apps.sourceforge.net/mediawiki/fuse/index.php?title=FusePython |
---|
14 | platforms darwin |
---|
15 | master_sites sourceforge:fuse |
---|
16 | |
---|
17 | checksums rmd160 dfefb8a632b52b104beacc3435f1d7a67e679073 \ |
---|
18 | sha256 89f3e9ac096759e10b6292632216c9653d7e35c2c99847267173d94afdf85b92 |
---|
19 | |
---|
20 | distname fuse-python-${version} |
---|
21 | |
---|
22 | python.versions 24 25 26 27 |
---|
23 | python.default_version 27 |
---|
24 | |
---|
25 | livecheck.distname fuse-python |
---|
26 | |
---|
27 | depends_build-append path:bin/pkg-config:pkgconfig |
---|
28 | depends_lib-append path:lib/pkgconfig/fuse.pc:fuse4x |
---|
29 | |
---|
30 | platform darwin { |
---|
31 | patchfiles patch-_fusemodule.c |
---|
32 | } |
---|
33 | |
---|
34 | post-destroot { |
---|
35 | foreach item [glob -directory ${worksrcpath} example/*] { |
---|
36 | file copy ${item} ${destroot}${prefix}/share/doc/${subport}/examples/ |
---|
37 | } |
---|
38 | } |
---|
39 | |
---|