require 'formula' class Skipfish < Formula homepage 'http://code.google.com/p/skipfish/' url 'http://skipfish.googlecode.com/files/skipfish-2.07b.tgz' sha1 'eb8811137dd474adc02a657d371c4427b28f8d97' depends_on 'libidn' def install ENV.append "CFLAGS", "-I#{HOMEBREW_PREFIX}/include" ENV.append "LDFLAGS", "-L#{HOMEBREW_PREFIX}/lib" chmod 0755, "config.h" # Not writeable in the tgz. Lame. inreplace "config.h", "#define ASSETS_DIR \"assets\"", "#define ASSETS_DIR \"#{libexec}/assets\"" system 'make' bin.install 'skipfish' libexec.install %w(assets dictionaries) end def caveats; <<-EOS.undent NOTE: Skipfish uses dictionary-based probes and will not run until you have specified a dictionary for it to use. Please read: #{libexec}/dictionaries/README-FIRST carefully to make the right choice. This step has a profound impact on the quality of results later on. Use this command to print usage information: skipfish -h EOS end end td> :beer: The missing package manager for OS X.
aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nauty.rb
blob: d8f073efec4f8b46f496207c8f33455bc66b8c6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29