# $Id$ PortSystem 1.0 name gmailfs version 0.8.0 categories fuse platforms macosx maintainers raimue \ openmaintainer description GmailFS provides a mountable filesystem long_description \ Gmail Filesystem provides a mountable filesystem which uses your \ Gmail account as its storage medium. homepage http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html master_sites http://richard.jones.name/google-hacks/gmail-filesystem/ checksums md5 828417eb7355b61b0f474eabc826317f \ sha1 c2a7e14d42d98ed3a6adbfab6c3518f9674bdbd8 \ rmd160 ec96fd7b76a964f93b7e5d1a9c12926641d67196 depends_run port:macfuse \ port:python25 \ port:py25-openssl \ port:py25-libgmail \ port:fuse-bindings-python25 patch { reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.5|" ${worksrcpath}/gmailfs.py ${worksrcpath}/mount.gmailfs ${worksrcpath}/tests.py reinplace "s|/usr/share/gmailfs/gmailfs.py|${prefix}/share/gmailfs/gmailfs.py|" ${worksrcpath}/mount.gmailfs } use_configure no build {} destroot.violate_mtree yes destroot { xinstall -m 755 -d ${destroot}${prefix}/share/${name}/ xinstall -m 755 -W ${worksrcpath} gmailfs.py tests.py ${destroot}${prefix}/share/${name} xinstall -m 755 -d ${destroot}/sbin/ xinstall -m 755 -W ${worksrcpath} mount.gmailfs ${destroot}/sbin/mount_gmailfs xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/ xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog gmailfs.conf \ ${destroot}${prefix}/share/doc/${name}/ } livecheck.check regex livecheck.regex {href="gmailfs-([\d.]+).tar.gz"}