aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ncftp.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/Library/Formula/ncftp.rb b/Library/Formula/ncftp.rb
index 8b8b3e88e..ca3ed7a3f 100644
--- a/Library/Formula/ncftp.rb
+++ b/Library/Formula/ncftp.rb
@@ -1,9 +1,7 @@
-require 'formula'
-
class Ncftp < Formula
- homepage 'http://www.ncftp.com'
- url 'ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz'
- sha1 'b1aafd9291e29c336fcad07ae212fe1b5b2a1c58'
+ homepage "http://www.ncftp.com"
+ url "ftp://ftp.ncftp.com/ncftp/ncftp-3.2.5-src.tar.gz"
+ sha256 "ac111b71112382853b2835c42ebe7bd59acb7f85dd00d44b2c19fbd074a436c4"
def install
# "disable universal" doesn't seem to work.
@@ -16,6 +14,10 @@ class Ncftp < Formula
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/ncftp", "-F"
end
end