diff options
Diffstat (limited to 'Library/Formula/plplot.rb')
| -rw-r--r-- | Library/Formula/plplot.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/plplot.rb b/Library/Formula/plplot.rb index fd4a57942..c56e136b7 100644 --- a/Library/Formula/plplot.rb +++ b/Library/Formula/plplot.rb @@ -11,9 +11,13 @@ class Plplot < Formula depends_on 'pkg-config' => :build depends_on 'pango' + option 'with-java' + def install + args = std_cmake_args + args << '-DENABLE_java=OFF' unless build.with? 'java' mkdir "plplot-build" do - system "cmake", "..", *std_cmake_args + system "cmake", "..", *args system "make" system "make install" end |
