aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-09-20 10:15:54 -0500
committerJack Nagel2013-09-21 19:29:53 -0500
commitd20f0ebe88960ae8dd6ad8a1043be55bc2f022b9 (patch)
tree6806d34737ccad1fff6c7b2a7d96b781e4ec5438
parentcb25af39924774b38c51ee2155a330d369a4a95f (diff)
downloadhomebrew-d20f0ebe88960ae8dd6ad8a1043be55bc2f022b9.tar.bz2
gnuplot: use spec deps
-rw-r--r--Library/Formula/gnuplot.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index f158d4d8b..2473b33a8 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -12,7 +12,12 @@ class Gnuplot < Formula
url 'http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.3/gnuplot-4.6.3.tar.gz'
sha256 'df5ffafa25fb32b3ecc0206a520f6bca8680e6dcc961efd30df34c0a1b7ea7f5'
- head 'cvs://:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot:gnuplot'
+ head do
+ url 'cvs://:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot:gnuplot'
+
+ depends_on :automake
+ depends_on :libtool
+ end
option 'pdf', 'Build the PDF terminal using pdflib-lite'
option 'wx', 'Build the wxWidgets terminal using pango'
@@ -25,11 +30,6 @@ class Gnuplot < Formula
option 'without-emacs', 'Do not build Emacs lisp files'
option 'latex', 'Build with LaTeX support'
- if build.head?
- depends_on :automake
- depends_on :libtool
- end
-
depends_on 'pkg-config' => :build
depends_on LuaRequirement unless build.include? 'nolua'
depends_on 'readline'