From 55830ae32a37854f0cec7ca9dfcaa3b42d2f4320 Mon Sep 17 00:00:00 2001 From: Guillermo Garza Date: Mon, 8 Apr 2013 22:36:10 -0500 Subject: pyxplot 0.9.2 Closes #19070. Signed-off-by: Adam Vandenberg --- Library/Formula/pyxplot.rb | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Library/Formula/pyxplot.rb (limited to 'Library') 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 -- cgit v1.2.3