diff options
| author | Brad Ackerman | 2012-09-02 16:16:16 -0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-09-08 11:47:58 -0700 |
| commit | 3256449246c075e055a8d8f8f3291c05a0ffd14e (patch) | |
| tree | 8a94880f9f0804107f42878c7e50192043128838 /Library/Formula | |
| parent | 4ff36d95ab9aaabe771cc2df508318ae9695e178 (diff) | |
| download | homebrew-3256449246c075e055a8d8f8f3291c05a0ffd14e.tar.bz2 | |
simh: install README files and VAX boot ROM
Closes #14655.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/simh.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/simh.rb b/Library/Formula/simh.rb index 520261f19..f5a2ac367 100644 --- a/Library/Formula/simh.rb +++ b/Library/Formula/simh.rb @@ -1,10 +1,12 @@ require 'formula' +require 'set' class Simh < Formula homepage 'http://simh.trailing-edge.com/' url 'http://simh.trailing-edge.com/sources/simhv39-0.zip' sha1 '1de3938f0dcb51d55b0e53aea8ae9769ccc57bdb' version '3.9-0' + head 'https://github.com/simh/simh.git' # After 3.9-0 the project moves to https://github.com/simh/simh @@ -22,5 +24,13 @@ class Simh < Formula inreplace 'makefile', 'CFLAGS_O = -O2', "CFLAGS_O = #{ENV.cflags}" system "make USE_NETWORK=1 all" bin.install Dir['BIN/*'] + docs = Dir['**/*.txt'] + Set.new(docs.map {|f| File.dirname(f) }).each do |d| + mkpath doc+d + end + docs.each do |f| + cp f, doc+f + end + (share+'simh/vax').install Dir['VAX/*.{bin,exe}'] end end |
