[22267] trunk/dports/fuse

source_changes at macosforge.org source_changes at macosforge.org
Sat Feb 24 11:13:22 PST 2007


Revision: 22267
          http://trac.macosforge.org/projects/macports/changeset/22267
Author:   eridius at macports.org
Date:     2007-02-24 11:13:21 -0800 (Sat, 24 Feb 2007)

Log Message:
-----------
New port: fuse-bindings-python
Since this project doesn't seem to have official releases, this port is versioned according to the latest changelog entry

Added Paths:
-----------
    trunk/dports/fuse/fuse-bindings-python/
    trunk/dports/fuse/fuse-bindings-python/Portfile
    trunk/dports/fuse/fuse-bindings-python/files/
    trunk/dports/fuse/fuse-bindings-python/files/patch-_fusemodule.c

Added: trunk/dports/fuse/fuse-bindings-python/Portfile
===================================================================
--- trunk/dports/fuse/fuse-bindings-python/Portfile	                        (rev 0)
+++ trunk/dports/fuse/fuse-bindings-python/Portfile	2007-02-24 19:13:21 UTC (rev 22267)
@@ -0,0 +1,34 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup python24 1.0
+
+name                fuse-bindings-python
+version             2007-01-19
+categories          fuse python
+maintainers         eridius at macports.org
+description         Python interface for FUSE
+long_description    $description
+homepage            http://fuse.sourceforge.net/wiki/index.php/FusePython
+platforms           darwin
+master_sites        http://svn.macosforge.org/repository/macports/distfiles/eridius/
+
+checksums           md5 ebed8e746396879b24bef2e6d60c2969 \
+                    sha1 c43759f1b98367ff7e80e7388a95cc1122e7ffb0
+distname            fuse-py-${version}
+extract.suffix      .tar.gz
+worksrcdir          fuse-py-cc3a99b21a0d
+
+depends_lib-append      lib:libfuse:libfuse bin:pkg-config:pkgconfig
+
+platform darwin {
+    depends_run     port:fusefs
+    
+    patchfiles      patch-_fusemodule.c
+}
+
+post-destroot {
+    foreach item [glob example/*] {
+            file copy ${item} ${destroot}${prefix}/share/doc/${name}/examples/
+    }
+}
\ No newline at end of file


Property changes on: trunk/dports/fuse/fuse-bindings-python/Portfile
___________________________________________________________________
Name: svn:keywords
   + id
Name: svn:eol-style
   + native

Added: trunk/dports/fuse/fuse-bindings-python/files/patch-_fusemodule.c
===================================================================
--- trunk/dports/fuse/fuse-bindings-python/files/patch-_fusemodule.c	                        (rev 0)
+++ trunk/dports/fuse/fuse-bindings-python/files/patch-_fusemodule.c	2007-02-24 19:13:21 UTC (rev 22267)
@@ -0,0 +1,12 @@
+--- fuseparts/_fusemodule.c.bak	2007-02-24 13:59:44.000000000 -0500
++++ fuseparts/_fusemodule.c	2007-02-24 14:00:06.000000000 -0500
+@@ -22,7 +22,9 @@
+ #define FUSE_USE_VERSION 26
+ #endif
+ 
++#undef __FreeBSD__
+ #include <Python.h>
++#define __FreeBSD__ 10
+ #include <fuse.h>
+ 
+ static PyObject *getattr_cb=NULL, *readlink_cb=NULL, *readdir_cb=NULL,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070224/639bc77e/attachment.html


More information about the macports-changes mailing list