Changeset 36272


Ignore:
Timestamp:
Apr 25, 2008, 11:30:56 AM (12 years ago)
Author:
eridius@…
Message:

Update procfs to version 2.0 and the new macfuse port

Location:
trunk/dports/fuse/procfs
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/fuse/procfs/Portfile

    r27917 r36272  
    44
    55name                procfs
    6 version             1.5; # taken from MACFUSE_PROCFS_VERSION in procfs.cc
     6version             2.0; # taken from MACFUSE_PROCFS_VERSION in procfs.cc
    77categories          fuse
    88platforms           darwin
     
    1414master_sites        macports
    1515distname            procfs-${version}
    16 worksrcdir          procfs
    17 checksums           md5 4ec560cb53712ae38b967b5354f01067 \
    18                     sha1 0147d4cc5af1f06af3e9073dca2ef1633016a90a
     16worksrcdir          procfs-${version}
     17checksums           md5 f86caba1b5f028f9f232b039b2889c8f \
     18                    sha1 001e394425d10b3e19b37878d110bc965f959150
    1919
    2020use_bzip2           yes
    21 
    22 patchfiles          patch-Makefile
    2321
    2422livecheck.check     regex
     
    2624livecheck.regex     {#define MACFUSE_PROCFS_VERSION "(.*?)"}
    2725
    28 depends_lib         port:libfuse port:pcre
     26depends_lib         port:pcre port:macfuse
    2927
    30 configure {
    31     reinplace s|@@DESTROOT@@|${destroot}|g ${worksrcpath}/Makefile
    32     reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/Makefile
     28use_configure       no
     29
     30variant universal {
     31    # dummy variant, the magic happens in post-patch
    3332}
    3433
    35 platform darwin {
    36     depends_run         port:fusefs
     34post-patch {
     35    reinplace "
     36:start
     37/^install:/binstall
     38s,/usr/local,${prefix},g
     39n
     40bstart
     41:install
     42n
     43/^\[^\[:space:\]\]/bstart
     44s,/usr/local,${destroot}${prefix},g
     45n
     46binstall
     47" ${worksrcpath}/Makefile
     48    if {![variant_isset universal]} {
     49        reinplace "s,-arch i386 -arch ppc ,," ${worksrcpath}/Makefile
     50    }
    3751}
Note: See TracChangeset for help on using the changeset viewer.