aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/htop.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/htop.rb')
-rw-r--r--Library/Formula/htop.rb16
1 files changed, 7 insertions, 9 deletions
diff --git a/Library/Formula/htop.rb b/Library/Formula/htop.rb
index 75af28bc8..0091b0ec4 100644
--- a/Library/Formula/htop.rb
+++ b/Library/Formula/htop.rb
@@ -6,21 +6,19 @@ class Htop <Formula
def install
system "./autogen.sh"
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
system "make", "install", "DEFAULT_INCLUDES='-iquote .'"
rm_rf "#{share}/applications" # Don't need Gnome support on OS X
rm_rf "#{share}/pixmaps"
end
def caveats; <<-EOS
-In order for htop to display correctly all the running processes, it needs to be ran as root.
-
-However, if you do not want to type `sudo htop` every time, you can change the owner and permissions for the executable binary:
-
-$ cd #{prefix}/bin/
-$ chmod 6555 htop
-$ sudo chown root htop
+For htop to display correctly all running processes, it needs to run as root.
+If you don't want to `sudo htop` every time, change the owner and permissions:
+ $ cd #{bin}
+ $ chmod 6555 htop
+ $ sudo chown root htop
EOS
end
-
end