diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/normalize.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/num-utils.rb | 10 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Library/Formula/normalize.rb b/Library/Formula/normalize.rb index f2e29a81b..a0e24feb4 100644 --- a/Library/Formula/normalize.rb +++ b/Library/Formula/normalize.rb @@ -9,6 +9,8 @@ class Normalize < Formula depends_on 'mad' => :recommended + conflicts_with 'num-utils', :because => 'both install `normalize` binaries' + def install args = %W[ --disable-debug diff --git a/Library/Formula/num-utils.rb b/Library/Formula/num-utils.rb index 117683e5c..070e13f02 100644 --- a/Library/Formula/num-utils.rb +++ b/Library/Formula/num-utils.rb @@ -5,11 +5,13 @@ class NumUtils < Formula url "http://suso.suso.org/programs/num-utils/downloads/num-utils-0.5.tar.gz" sha1 '3fc6130874129fe1e98db6db8b3dc43f0e1a89ac' + conflicts_with 'normalize', :because => 'both install `normalize` binaries' + def install - %w(average bound interval normalize numgrep numprocess numsum random range round).each do |program| - system "pod2man", program, "#{program}.1" - bin.install program - man1.install "#{program}.1" + %w(average bound interval normalize numgrep numprocess numsum random range round).each do |p| + system "pod2man", p, "#{p}.1" + bin.install p + man1.install "#{p}.1" end end end |
