aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pyxplot.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/pyxplot.rb b/Library/Formula/pyxplot.rb
new file mode 100644
index 000000000..ceadd9bb3
--- /dev/null
+++ b/Library/Formula/pyxplot.rb
@@ -0,0 +1,28 @@
+require 'formula'
+
+class Pyxplot < Formula
+ homepage 'http://pyxplot.org.uk/'
+ url 'http://pyxplot.org.uk/src/pyxplot_0.9.2.tar.gz'
+ sha1 '5f09399bd00a4ae94a07ac186cf0e8e7761de625'
+
+ depends_on :x11
+ depends_on :tex
+ depends_on 'fftw'
+ depends_on 'cfitsio' => :recommended
+ depends_on 'gv' => :recommended
+ depends_on 'wget' => :recommended
+ depends_on 'ghostscript' => 'with-x11'
+ depends_on 'gsl'
+ depends_on 'imagemagick'
+ depends_on 'libpng'
+ depends_on 'readline'
+
+ def install
+ # changes install directory to Cellar, per instructions
+ inreplace "Makefile.skel" do |s|
+ s.change_make_var! 'USRDIR', prefix
+ end
+ system "./configure"
+ system "make install"
+ end
+end