# $Id: Portfile 69376 2010-07-02 21:06:00Z dports@macports.org $ PortSystem 1.0 name procfs version 2.0; # taken from MACFUSE_PROCFS_VERSION in procfs.cc categories fuse platforms darwin maintainers nomaintainer description procfs filesystem for FUSE long_description An implementation of a procfs filesystem for MacFUSE homepage http://osxbook.com/book/bonus/chapter11/procfs/ master_sites macports distname procfs-${version} worksrcdir procfs-${version} checksums md5 f86caba1b5f028f9f232b039b2889c8f \ sha1 001e394425d10b3e19b37878d110bc965f959150 use_bzip2 yes livecheck.type regex livecheck.url http://macfuse.googlecode.com/svn/trunk/filesystems/procfs/procfs.cc livecheck.regex {#define MACFUSE_PROCFS_VERSION "(.*?)"} depends_lib port:pcre port:macfuse use_configure no variant universal { # dummy variant, the magic happens in post-patch } post-patch { reinplace " :start /^install:/binstall s,/usr/local,${prefix},g n bstart :install n /^\[^\[:space:\]\]/bstart s,/usr/local,${destroot}${prefix},g n binstall " ${worksrcpath}/Makefile if {![variant_isset universal]} { reinplace "s,-arch i386 -arch ppc ,," ${worksrcpath}/Makefile } }