[31527] trunk/dports/fuse/fusefs/Portfile
takanori at macports.org
takanori at macports.org
Tue Nov 27 02:19:11 PST 2007
Revision: 31527
http://trac.macosforge.org/projects/macports/changeset/31527
Author: takanori at macports.org
Date: 2007-11-27 02:19:11 -0800 (Tue, 27 Nov 2007)
Log Message:
-----------
fusefs: MacFUSE 1.1
Modified Paths:
--------------
trunk/dports/fuse/fusefs/Portfile
Modified: trunk/dports/fuse/fusefs/Portfile
===================================================================
--- trunk/dports/fuse/fusefs/Portfile 2007-11-27 10:17:23 UTC (rev 31526)
+++ trunk/dports/fuse/fusefs/Portfile 2007-11-27 10:19:11 UTC (rev 31527)
@@ -4,7 +4,8 @@
PortGroup xcode 1.0
name fusefs
-version 0.4.0
+version 1.1
+revision 2
categories fuse devel
platforms darwin
maintainers eridius at macports.org
@@ -18,13 +19,21 @@
homepage http://code.google.com/p/macfuse/
master_sites macports
-distname fusefs-${version}
-worksrcdir fusefs
-checksums md5 fb49ac9bc2412da7e02b9e3f1f448545 \
- sha1 0b870c2e4d14180510348c49cc0647bff812f520
+distname macfuse-${version}
+checksums md5 42487d7684b1f9a8eb2f8a61b10f7913 \
+ sha1 6347e5b6b0f810a3e5b0fbc82cbccfdf3f4c6311
-livecheck.distname MacFUSE-Core-(.*).dmg
+platform darwin 8 {}
+if {[variant_isset darwin_8]} {
+ set product_version 10.4
+} else {
+ set product_version 10.5
+}
+
+worksrcdir ${distname}/core/${product_version}/${name}
+livecheck.distname MacFUSE-Core-${product_version}-(.*).dmg
+
use_bzip2 yes
destroot.violate_mtree yes
@@ -34,9 +43,8 @@
xcode.build.settings OBJROOT=build/ SYMROOT=build/
# ensure that user is running OS X 10.4
-platform darwin {}
pre-fetch {
- if {[variant_isset darwin]} {
+ if {${os.platform} == "darwin"} {
set vers [split [exec sw_vers -productVersion] .]
set majorVersion [lindex $vers 0]
set minorVersion [lindex $vers 1]
@@ -49,7 +57,11 @@
}
destroot {
- set sysfsdir ${destroot}/System/Library/Filesystems
+ if {[variant_isset darwin_8]} {
+ set sysfsdir ${destroot}/System/Library/Filesystems
+ } else {
+ set sysfsdir ${destroot}/Library/Filesystems
+ }
set macfuse_bundle_dir ${sysfsdir}/fusefs.fs
set macfuse_support_dir ${macfuse_bundle_dir}/Support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071127/4719addf/attachment.html
More information about the macports-changes
mailing list