Ticket #13185: fusefs.diff
File fusefs.diff, 1.9 KB (added by takanori@…, 17 years ago) |
---|
-
Portfile
4 4 PortGroup xcode 1.0 5 5 6 6 name fusefs 7 version 0.4.07 version 1.0.0 8 8 categories fuse devel 9 9 platforms darwin 10 10 maintainers eridius@macports.org … … 18 18 19 19 homepage http://code.google.com/p/macfuse/ 20 20 master_sites macports 21 distname fusefs-${version} 22 worksrcdir fusefs 23 checksums md5 fb49ac9bc2412da7e02b9e3f1f448545 \ 24 sha1 0b870c2e4d14180510348c49cc0647bff812f520 21 distname macfuse-${version} 22 checksums md5 721e9527b03563a6bed4f918bae83e2b \ 23 sha1 2259cfa93a7d6537c1b3b925454543a66d76752b 25 24 26 livecheck.distname MacFUSE-Core-(.*).dmg 25 platform darwin 8 {} 27 26 27 if {[variant_isset darwin_8]} { 28 set product_version 10.4 29 } else { 30 set product_version 10.5 31 } 32 33 worksrcdir ${distname}/core/${product_version}/${name} 34 livecheck.distname MacFUSE-Core-${product_version}-(.*).dmg 35 28 36 use_bzip2 yes 29 37 30 38 destroot.violate_mtree yes … … 34 42 xcode.build.settings OBJROOT=build/ SYMROOT=build/ 35 43 36 44 # ensure that user is running OS X 10.4 37 platform darwin {}38 45 pre-fetch { 39 if { [variant_isset darwin]} {46 if {${os.platform} == "darwin"} { 40 47 set vers [split [exec sw_vers -productVersion] .] 41 48 set majorVersion [lindex $vers 0] 42 49 set minorVersion [lindex $vers 1] … … 49 56 } 50 57 51 58 destroot { 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 } 53 64 set macfuse_bundle_dir ${sysfsdir}/fusefs.fs 54 65 set macfuse_support_dir ${macfuse_bundle_dir}/Support 55 66