aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/spim.rb
blob: b5f6523976072ce4d96984999c16b9fa0d5c44f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Spim < Formula
  homepage 'http://spimsimulator.sourceforge.net/'
  # No source code tarball exists
  url 'http://svn.code.sf.net/p/spimsimulator/code', :revision => 606
  version '9.1.9'

  def install
    bin.mkpath
    cd 'spim' do
      system "make", "EXCEPTION_DIR=#{share}"
      system "make", "install", "BIN_DIR=#{bin}",
                                "EXCEPTION_DIR=#{share}",
                                "MAN_DIR=#{man1}"
    end
  end
end