[21689] trunk/dports/fuse

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 2 11:02:43 PST 2007


Revision: 21689
          http://trac.macosforge.org/projects/macports/changeset/21689
Author:   eridius at macports.org
Date:     2007-02-02 11:02:43 -0800 (Fri, 02 Feb 2007)

Log Message:
-----------
New port: sshfs-gui

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

Added: trunk/dports/fuse/sshfs-gui/Portfile
===================================================================
--- trunk/dports/fuse/sshfs-gui/Portfile	                        (rev 0)
+++ trunk/dports/fuse/sshfs-gui/Portfile	2007-02-02 19:02:43 UTC (rev 21689)
@@ -0,0 +1,32 @@
+# $Id$
+
+PortSystem 1.0
+PortGroup xcode 1.0
+
+name                sshfs-gui
+version             0.1.0
+categories          fuse
+platforms           macosx
+maintainers         eridius at macports.org
+description         OS X GUI for sshfs
+long_description    This is an OS X Cocoa GUI on top of sshfs that \
+                    makes it easy to set up new sshfs mounts.
+
+homepage            http://code.google.com/p/macfuse/
+
+master_sites        macports:eridius
+checksums           md5 617903c85c97053aa4678fc72cdb88ae \
+                    sha1 ee7e92468ce2165d3503c92c7b5d3ac372d79861
+
+patchfiles          patch-AppController.m patch-project.pbxproj
+
+use_bzip2           yes
+
+depends_run         port:sshfs
+
+xcode.target        sshfs
+xcode.configuration Release
+
+post-patch {
+    reinplace "s|##PREFIX##|${prefix}|" AppController.m
+}
\ No newline at end of file


Property changes on: trunk/dports/fuse/sshfs-gui/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/fuse/sshfs-gui/files/patch-AppController.m
===================================================================
--- trunk/dports/fuse/sshfs-gui/files/patch-AppController.m	                        (rev 0)
+++ trunk/dports/fuse/sshfs-gui/files/patch-AppController.m	2007-02-02 19:02:43 UTC (rev 21689)
@@ -0,0 +1,12 @@
+--- AppController.m	2007-01-25 15:11:40.000000000 -0500
++++ AppController.m	2007-02-01 15:20:50.000000000 -0500
+@@ -70,8 +70,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-project.pbxproj
===================================================================
--- trunk/dports/fuse/sshfs-gui/files/patch-project.pbxproj	                        (rev 0)
+++ trunk/dports/fuse/sshfs-gui/files/patch-project.pbxproj	2007-02-02 19:02:43 UTC (rev 21689)
@@ -0,0 +1,67 @@
+diff -u -r old/project.pbxproj sshfs.xcodeproj/project.pbxproj
+--- old/project.pbxproj	2007-02-02 13:49:20.000000000 -0500
++++ sshfs.xcodeproj/project.pbxproj	2007-02-02 13:50:29.000000000 -0500
+@@ -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 */; };
+@@ -37,7 +36,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>"; };
+@@ -104,7 +102,6 @@
+ 				8249C9140B547465007CFB64 /* Localizable.strings */,
+ 				D4A6C9DF09479C8900354625 /* MainMenu.nib */,
+ 				823578200B44701F00FE77BB /* ssh.icns */,
+-				8205AF790B653F3700A99579 /* sshfs-static */,
+ 				8235791D0B4481C700FE77BB /* askpass */,
+ 			);
+ 			name = Resources;
+@@ -204,7 +201,6 @@
+ 				823578210B44701F00FE77BB /* ssh.icns in Resources */,
+ 				8235791E0B4481C700FE77BB /* askpass in Resources */,
+ 				8249C9150B547465007CFB64 /* Localizable.strings in Resources */,
+-				8205AF7A0B653F3700A99579 /* sshfs-static in Resources */,
+ 			);
+ 			runOnlyForDeploymentPostprocessing = 0;
+ 		};
+@@ -277,7 +273,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,
+@@ -297,7 +292,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,
+@@ -312,6 +306,7 @@
+ 			isa = XCBuildConfiguration;
+ 			buildSettings = {
+ 				INFOPLIST_FILE = Resources/Info.plist;
++				INSTALL_PATH = /Applications;
+ 				PRODUCT_NAME = sshfs;
+ 				WRAPPER_EXTENSION = app;
+ 			};
+@@ -321,6 +316,7 @@
+ 			isa = XCBuildConfiguration;
+ 			buildSettings = {
+ 				INFOPLIST_FILE = Resources/Info.plist;
++				INSTALL_PATH = /Applications;
+ 				PRODUCT_NAME = sshfs;
+ 				WRAPPER_EXTENSION = app;
+ 			};

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070202/0af7ea01/attachment.html


More information about the macports-changes mailing list