Ticket #13185: fusefs.diff

File fusefs.diff, 1.9 KB (added by takanori@…, 17 years ago)
  • Portfile

     
    44PortGroup xcode 1.0
    55
    66name                fusefs
    7 version             0.4.0
     7version             1.0.0
    88categories          fuse devel
    99platforms           darwin
    1010maintainers         eridius@macports.org
     
    1818
    1919homepage            http://code.google.com/p/macfuse/
    2020master_sites        macports
    21 distname            fusefs-${version}
    22 worksrcdir          fusefs
    23 checksums           md5 fb49ac9bc2412da7e02b9e3f1f448545 \
    24                     sha1 0b870c2e4d14180510348c49cc0647bff812f520
     21distname            macfuse-${version}
     22checksums           md5 721e9527b03563a6bed4f918bae83e2b \
     23                    sha1 2259cfa93a7d6537c1b3b925454543a66d76752b
    2524
    26 livecheck.distname  MacFUSE-Core-(.*).dmg
     25platform darwin 8 {}
    2726
     27if {[variant_isset darwin_8]} {
     28    set product_version 10.4
     29} else {
     30    set product_version 10.5
     31}
     32
     33worksrcdir          ${distname}/core/${product_version}/${name}
     34livecheck.distname  MacFUSE-Core-${product_version}-(.*).dmg
     35
    2836use_bzip2           yes
    2937
    3038destroot.violate_mtree yes
     
    3442xcode.build.settings    OBJROOT=build/ SYMROOT=build/
    3543
    3644# ensure that user is running OS X 10.4
    37 platform darwin {}
    3845pre-fetch {
    39     if {[variant_isset darwin]} {
     46    if {${os.platform} == "darwin"} {
    4047        set vers [split [exec sw_vers -productVersion] .]
    4148        set majorVersion [lindex $vers 0]
    4249        set minorVersion [lindex $vers 1]
     
    4956}
    5057
    5158destroot {
    52     set sysfsdir ${destroot}/System/Library/Filesystems
     59    if {[variant_isset darwin_8]} {
     60        set sysfsdir ${destroot}/System/Library/Filesystems
     61    } else {
     62        set sysfsdir ${destroot}/Library/Filesystems
     63    }
    5364    set macfuse_bundle_dir ${sysfsdir}/fusefs.fs
    5465    set macfuse_support_dir ${macfuse_bundle_dir}/Support
    5566