aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sshfs.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2009-11-21 09:51:24 -0800
committerMax Howell2009-12-12 16:24:19 +0000
commit9ce8260dcbcdedbd405dca58eb520cbbfff98f5f (patch)
tree123a962481524aa45175c5e95fc06787a6d64732 /Library/Formula/sshfs.rb
parent7c470f193da79accb4739ea0d371564667c6e1b7 (diff)
downloadhomebrew-9ce8260dcbcdedbd405dca58eb520cbbfff98f5f.tar.bz2
Reformat Sshfs.
Diffstat (limited to 'Library/Formula/sshfs.rb')
-rw-r--r--Library/Formula/sshfs.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/sshfs.rb b/Library/Formula/sshfs.rb
index c228abc33..e05808a3d 100644
--- a/Library/Formula/sshfs.rb
+++ b/Library/Formula/sshfs.rb
@@ -1,11 +1,11 @@
require 'formula'
class Sshfs <Formula
- @url='http://downloads.sourceforge.net/project/fuse/sshfs-fuse/2.2/sshfs-fuse-2.2.tar.gz'
+ url 'http://downloads.sourceforge.net/project/fuse/sshfs-fuse/2.2/sshfs-fuse-2.2.tar.gz'
# This is the original project homepage, but we link to something more useful for OS X users
- #@homepage='http://fuse.sourceforge.net/sshfs.html'
- @homepage='http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS'
- @md5='26e9206eb5169e87e6f95f54bc005a4f'
+ #homepage 'http://fuse.sourceforge.net/sshfs.html'
+ homepage 'http://code.google.com/p/macfuse/wiki/MACFUSE_FS_SSHFS'
+ md5 '26e9206eb5169e87e6f95f54bc005a4f'
def patches
"http://macfuse.googlecode.com/svn/tags/macfuse-2.0.3|2/filesystems/sshfs/sshfs-fuse-2.2-macosx.patch"
@@ -19,8 +19,8 @@ class Sshfs <Formula
# Steal compile flags from macfuse_buildtool.sh
# Except that those flags include "-DSSH_NODELAY_WORKAROUND" which causes a bogus
# warning message to be printed to the console, so cut out that crap.
- ENV['CFLAGS'] += " -D__FreeBSD__=10 -DDARWIN_SEMAPHORE_COMPAT"
- system "./configure --prefix='#{prefix}' --disable-dependency-tracking"
+ ENV.append 'CFLAGS', "-D__FreeBSD__=10 -DDARWIN_SEMAPHORE_COMPAT"
+ system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make"
system "make install"
end