homebrew-core/Formula/avanor.rb
Devin Weaver 1f0b50cadd Update Formula: avanor
The data directory was incorrectly assigned. This will fix the problem
were the help files can not be found.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-15 08:15:30 -07:00

18 lines
488 B
Ruby

require 'formula'
class Avanor <Formula
url 'http://downloads.sourceforge.net/project/avanor/avanor/0.5.8/avanor-0.5.8-src.tar.bz2'
homepage 'http://avanor.sourceforge.net/'
md5 '20067962b9635b1789933ddd7933d142'
def install
inreplace 'Makefile' do |contents|
contents.gsub! "CC = gpp", "CC = cpp"
contents.gsub! "LD = gpp", "LD = cpp"
end
system "make DATA_DIR=#{share}/avanor/"
bin.install "avanor"
(share+"avanor").install "manual"
end
end