aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 22:05:51 -0700
committerAdam Vandenberg2012-08-27 22:05:51 -0700
commit1ec30a11ac74f67f9c2806043dd5bc2208a4812c (patch)
tree8e7ffe31d24a72792653c123b6c822486d6d43fd /Library/Formula
parentec84831d78a4887a5a3f0d7441468e312f58d5d3 (diff)
downloadhomebrew-1ec30a11ac74f67f9c2806043dd5bc2208a4812c.tar.bz2
pathfinder: use new dsl
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pathfinder.rb11
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/pathfinder.rb b/Library/Formula/pathfinder.rb
index 21e6fd75f..d1a6c23fb 100644
--- a/Library/Formula/pathfinder.rb
+++ b/Library/Formula/pathfinder.rb
@@ -5,18 +5,11 @@ class Pathfinder < Formula
url 'http://db.inf.uni-tuebingen.de/files/research/pathfinder/download/pathfinder-0.41.tar.gz'
sha1 '84f5581688e4c1dff27cf8e7d4354ee594f56970'
- def options
- [
- ['--enable-debug', 'enable full debbugging']
- ]
- end
+ option 'enable-debug', 'Enable debugging'
def install
args = ["--prefix=#{prefix}"]
-
- if ARGV.include? '--enable-debug'
- args << '--enable-debug'
- end
+ args << '--enable-debug' if build.include? 'enable-debug'
system "./configure", *args
system "make"