[31530] trunk/dports/fuse/sshfs-gui

takanori at macports.org takanori at macports.org
Tue Nov 27 02:20:43 PST 2007


Revision: 31530
          http://trac.macosforge.org/projects/macports/changeset/31530
Author:   takanori at macports.org
Date:     2007-11-27 02:20:42 -0800 (Tue, 27 Nov 2007)

Log Message:
-----------
sshfs-gui: MacFUSE 1.1

Modified Paths:
--------------
    trunk/dports/fuse/sshfs-gui/Portfile

Added Paths:
-----------
    trunk/dports/fuse/sshfs-gui/files/patch-AppController.m.diff
    trunk/dports/fuse/sshfs-gui/files/patch-sshfs.xcodeproj_project.pbxproj.diff

Removed Paths:
-------------
    trunk/dports/fuse/sshfs-gui/files/patch-AppController.m
    trunk/dports/fuse/sshfs-gui/files/patch-project.pbxproj

Modified: trunk/dports/fuse/sshfs-gui/Portfile
===================================================================
--- trunk/dports/fuse/sshfs-gui/Portfile	2007-11-27 10:20:15 UTC (rev 31529)
+++ trunk/dports/fuse/sshfs-gui/Portfile	2007-11-27 10:20:42 UTC (rev 31530)
@@ -4,7 +4,9 @@
 PortGroup xcode 1.0
 
 name                sshfs-gui
-version             0.3.0
+version             1.0.0
+revision            2
+set macfuse_version 1.1
 categories          fuse
 platforms           macosx
 maintainers         eridius at macports.org
@@ -14,13 +16,16 @@
 
 homepage            http://code.google.com/p/macfuse/
 
-master_sites        macports
-checksums           md5 23e29333a9974f87d4466c64607f3581 \
-                    sha1 3df742fac97ea4f853b07f2ea41a6b8597af3508
+master_sites        macports:fusefs
+distname            macfuse-${macfuse_version}
+dist_subdir         fusefs
+checksums           md5 42487d7684b1f9a8eb2f8a61b10f7913 \
+                    sha1 6347e5b6b0f810a3e5b0fbc82cbccfdf3f4c6311
 
-livecheck.distname  sshfs-(.*).dmg
+worksrcdir          ${distname}/filesystems/sshfs-gui
 
-patchfiles          patch-AppController.m patch-project.pbxproj
+patchfiles          patch-AppController.m.diff \
+                    patch-sshfs.xcodeproj_project.pbxproj.diff
 
 use_bzip2           yes
 
@@ -31,4 +36,9 @@
 
 post-patch {
     reinplace "s|##PREFIX##|${prefix}|" AppController.m
+}
+
+post-destroot {
+    xinstall -d ${destroot}/Applications/MacPorts
+    copy ${worksrcpath}/build/UninstalledProducts/sshfs.app ${destroot}/Applications/MacPorts/sshfs.app
 }
\ No newline at end of file

Deleted: trunk/dports/fuse/sshfs-gui/files/patch-AppController.m
===================================================================
--- trunk/dports/fuse/sshfs-gui/files/patch-AppController.m	2007-11-27 10:20:15 UTC (rev 31529)
+++ trunk/dports/fuse/sshfs-gui/files/patch-AppController.m	2007-11-27 10:20:42 UTC (rev 31530)
@@ -1,12 +0,0 @@
---- ../sshfs-gui.old/AppController.m	2007-04-23 18:37:41.000000000 -0400
-+++ AppController.m	2007-04-23 18:38:39.000000000 -0400
-@@ -75,8 +75,7 @@
-   // setup for task
-   NSString *askPassPath = [[NSBundle mainBundle] pathForResource:@"askpass"
-                                                           ofType:@""];
--  NSString *sshfsPath = [[NSBundle mainBundle] pathForResource:@"sshfs-static"
--                                                        ofType:@""];
-+  NSString *sshfsPath = @"##PREFIX##/bin/sshfs";
-   NSDictionary *sshfsEnv = [NSDictionary dictionaryWithObjectsAndKeys:
-     @"NONE", @"DISPLAY", // I know "NONE" is bogus; I just need something
-     askPassPath, @"SSH_ASKPASS",

Added: trunk/dports/fuse/sshfs-gui/files/patch-AppController.m.diff
===================================================================
--- trunk/dports/fuse/sshfs-gui/files/patch-AppController.m.diff	                        (rev 0)
+++ trunk/dports/fuse/sshfs-gui/files/patch-AppController.m.diff	2007-11-27 10:20:42 UTC (rev 31530)
@@ -0,0 +1,15 @@
+--- ./AppController.m.old	2007-11-07 05:15:32.000000000 +0900
++++ ./AppController.m	2007-11-07 08:24:25.000000000 +0900
+@@ -76,11 +76,7 @@
+   // setup for task
+   NSString *askPassPath = [[NSBundle mainBundle] pathForResource:@"askpass"
+                                                           ofType:@""];
+-  NSString *sshfsPath = [[NSBundle mainBundle] pathForResource:@"sshfs-static"
+-                                                        ofType:@""];
+-  if ([GoogleShared_SystemVersion isLeopard]) {
+-      sshfsPath = [sshfsPath stringByAppendingString:@"-10.5"];
+-  }
++  NSString *sshfsPath = @"##PREFIX##/bin/sshfs";
+   NSDictionary *sshfsEnv = [NSDictionary dictionaryWithObjectsAndKeys:
+     @"NONE", @"DISPLAY", // I know "NONE" is bogus; I just need something
+     askPassPath, @"SSH_ASKPASS",

Deleted: trunk/dports/fuse/sshfs-gui/files/patch-project.pbxproj
===================================================================
--- trunk/dports/fuse/sshfs-gui/files/patch-project.pbxproj	2007-11-27 10:20:15 UTC (rev 31529)
+++ trunk/dports/fuse/sshfs-gui/files/patch-project.pbxproj	2007-11-27 10:20:42 UTC (rev 31530)
@@ -1,50 +0,0 @@
---- ../sshfs-gui.old/sshfs.xcodeproj/project.pbxproj	2007-04-23 18:37:41.000000000 -0400
-+++ sshfs.xcodeproj/project.pbxproj	2007-04-23 18:44:11.000000000 -0400
-@@ -7,7 +7,6 @@
- 	objects = {
- 
- /* Begin PBXBuildFile section */
--		8205AF7A0B653F3700A99579 /* sshfs-static in Resources */ = {isa = PBXBuildFile; fileRef = 8205AF790B653F3700A99579 /* sshfs-static */; };
- 		823578210B44701F00FE77BB /* ssh.icns in Resources */ = {isa = PBXBuildFile; fileRef = 823578200B44701F00FE77BB /* ssh.icns */; };
- 		8235784C0B44782400FE77BB /* askpass.c in Sources */ = {isa = PBXBuildFile; fileRef = 8235784B0B44782400FE77BB /* askpass.c */; };
- 		823578540B44786400FE77BB /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 823578530B44786400FE77BB /* CoreFoundation.framework */; };
-@@ -41,7 +40,6 @@
- 		29B97316FDCFA39411CA2CEA /* sshfsMain.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = sshfsMain.m; sourceTree = "<group>"; };
- 		29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; };
- 		32CA4F630368D1EE00C91783 /* sshfs.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sshfs.pch; sourceTree = "<group>"; };
--		8205AF790B653F3700A99579 /* sshfs-static */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "sshfs-static"; path = "Resources/sshfs-static"; sourceTree = "<group>"; };
- 		823578200B44701F00FE77BB /* ssh.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = ssh.icns; path = Resources/ssh.icns; sourceTree = "<group>"; };
- 		823578420B4477D800FE77BB /* askpass */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = askpass; sourceTree = BUILT_PRODUCTS_DIR; };
- 		8235784B0B44782400FE77BB /* askpass.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = askpass.c; sourceTree = "<group>"; };
-@@ -115,7 +113,6 @@
- 				8249C9140B547465007CFB64 /* Localizable.strings */,
- 				D4A6C9DF09479C8900354625 /* MainMenu.nib */,
- 				823578200B44701F00FE77BB /* ssh.icns */,
--				8205AF790B653F3700A99579 /* sshfs-static */,
- 				82743E560BD7CE2D006FB711 /* sshnodelay.so */,
- 				8235791D0B4481C700FE77BB /* askpass */,
- 			);
-@@ -220,7 +217,6 @@
- 				823578210B44701F00FE77BB /* ssh.icns in Resources */,
- 				8235791E0B4481C700FE77BB /* askpass in Resources */,
- 				8249C9150B547465007CFB64 /* Localizable.strings in Resources */,
--				8205AF7A0B653F3700A99579 /* sshfs-static in Resources */,
- 				82743E570BD7CE2D006FB711 /* sshnodelay.so in Resources */,
- 			);
- 			runOnlyForDeploymentPostprocessing = 0;
-@@ -315,7 +311,6 @@
- 				GCC_MODEL_TUNING = G5;
- 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
- 				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
--				INSTALL_PATH = "$(HOME)/bin";
- 				OTHER_LDFLAGS = (
- 					"-framework",
- 					Carbon,
-@@ -339,6 +334,7 @@
- 			isa = XCBuildConfiguration;
- 			buildSettings = {
- 				INFOPLIST_FILE = Resources/Info.plist;
-+				INSTALL_PATH = /Applications;
- 				PRODUCT_NAME = sshfs;
- 				WRAPPER_EXTENSION = app;
- 			};

Added: trunk/dports/fuse/sshfs-gui/files/patch-sshfs.xcodeproj_project.pbxproj.diff
===================================================================
--- trunk/dports/fuse/sshfs-gui/files/patch-sshfs.xcodeproj_project.pbxproj.diff	                        (rev 0)
+++ trunk/dports/fuse/sshfs-gui/files/patch-sshfs.xcodeproj_project.pbxproj.diff	2007-11-27 10:20:42 UTC (rev 31530)
@@ -0,0 +1,68 @@
+--- ./sshfs.xcodeproj/project.pbxproj.orig	2007-10-27 09:54:51.000000000 +0900
++++ ./sshfs.xcodeproj/project.pbxproj	2007-11-07 09:39:36.000000000 +0900
+@@ -8,8 +8,6 @@
+ 
+ /* Begin PBXBuildFile section */
+ 		54B5A1AC0CD2BC7B00158571 /* GoogleShared_SystemVersion.m in Sources */ = {isa = PBXBuildFile; fileRef = 54B5A1AB0CD2BC7B00158571 /* GoogleShared_SystemVersion.m */; };
+-		54B5A1C50CD2BF3B00158571 /* sshfs-static-10.5 in Resources */ = {isa = PBXBuildFile; fileRef = 54B5A1C40CD2BF3B00158571 /* sshfs-static-10.5 */; };
+-		8205AF7A0B653F3700A99579 /* sshfs-static in Resources */ = {isa = PBXBuildFile; fileRef = 8205AF790B653F3700A99579 /* sshfs-static */; };
+ 		823578210B44701F00FE77BB /* ssh.icns in Resources */ = {isa = PBXBuildFile; fileRef = 823578200B44701F00FE77BB /* ssh.icns */; };
+ 		8235784C0B44782400FE77BB /* askpass.c in Sources */ = {isa = PBXBuildFile; fileRef = 8235784B0B44782400FE77BB /* askpass.c */; };
+ 		823578540B44786400FE77BB /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 823578530B44786400FE77BB /* CoreFoundation.framework */; };
+@@ -45,8 +43,6 @@
+ 		32CA4F630368D1EE00C91783 /* sshfs.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = sshfs.pch; sourceTree = "<group>"; };
+ 		54B5A1AA0CD2BC7B00158571 /* GoogleShared_SystemVersion.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GoogleShared_SystemVersion.h; sourceTree = "<group>"; };
+ 		54B5A1AB0CD2BC7B00158571 /* GoogleShared_SystemVersion.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GoogleShared_SystemVersion.m; sourceTree = "<group>"; };
+-		54B5A1C40CD2BF3B00158571 /* sshfs-static-10.5 */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "sshfs-static-10.5"; path = "Resources/sshfs-static-10.5"; sourceTree = "<group>"; };
+-		8205AF790B653F3700A99579 /* sshfs-static */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.executable"; name = "sshfs-static"; path = "Resources/sshfs-static"; sourceTree = "<group>"; };
+ 		823578200B44701F00FE77BB /* ssh.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = ssh.icns; path = Resources/ssh.icns; sourceTree = "<group>"; };
+ 		823578420B4477D800FE77BB /* askpass */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = askpass; sourceTree = BUILT_PRODUCTS_DIR; };
+ 		8235784B0B44782400FE77BB /* askpass.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = askpass.c; sourceTree = "<group>"; };
+@@ -115,13 +111,11 @@
+ 		29B97317FDCFA39411CA2CEA /* Resources */ = {
+ 			isa = PBXGroup;
+ 			children = (
+-				54B5A1C40CD2BF3B00158571 /* sshfs-static-10.5 */,
+ 				D4A6C9A709479AD300354625 /* Info.plist */,
+ 				D4A6C9B709479B9200354625 /* InfoPlist.strings */,
+ 				8249C9140B547465007CFB64 /* Localizable.strings */,
+ 				D4A6C9DF09479C8900354625 /* MainMenu.nib */,
+ 				823578200B44701F00FE77BB /* ssh.icns */,
+-				8205AF790B653F3700A99579 /* sshfs-static */,
+ 				82743E560BD7CE2D006FB711 /* sshnodelay.so */,
+ 				8235791D0B4481C700FE77BB /* askpass */,
+ 			);
+@@ -197,7 +191,6 @@
+ 				823578500B44782F00FE77BB /* PBXTargetDependency */,
+ 			);
+ 			name = sshfs;
+-			productInstallPath = "$(HOME)/Applications";
+ 			productName = sshfs;
+ 			productReference = 8D1107320486CEB800E47090 /* sshfs.app */;
+ 			productType = "com.apple.product-type.application";
+@@ -230,9 +223,7 @@
+ 				823578210B44701F00FE77BB /* ssh.icns in Resources */,
+ 				8235791E0B4481C700FE77BB /* askpass in Resources */,
+ 				8249C9150B547465007CFB64 /* Localizable.strings in Resources */,
+-				8205AF7A0B653F3700A99579 /* sshfs-static in Resources */,
+ 				82743E570BD7CE2D006FB711 /* sshnodelay.so in Resources */,
+-				54B5A1C50CD2BF3B00158571 /* sshfs-static-10.5 in Resources */,
+ 			);
+ 			runOnlyForDeploymentPostprocessing = 0;
+ 		};
+@@ -307,7 +298,6 @@
+ 				GCC_OPTIMIZATION_LEVEL = 0;
+ 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ 				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+-				INSTALL_PATH = "$(HOME)/bin";
+ 				OTHER_LDFLAGS = (
+ 					"-framework",
+ 					Carbon,
+@@ -327,7 +317,6 @@
+ 				GCC_MODEL_TUNING = G5;
+ 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ 				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Carbon.framework/Headers/Carbon.h";
+-				INSTALL_PATH = "$(HOME)/bin";
+ 				OTHER_LDFLAGS = (
+ 					"-framework",
+ 					Carbon,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071127/9caf0b95/attachment-0001.html


More information about the macports-changes mailing list