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>
master
Devin Weaver 2010-07-15 11:10:13 -04:00 committed by Adam Vandenberg
parent ef44802988
commit 1f0b50cadd
1 changed files with 1 additions and 2 deletions

View File

@ -9,10 +9,9 @@ class Avanor <Formula
inreplace 'Makefile' do |contents|
contents.gsub! "CC = gpp", "CC = cpp"
contents.gsub! "LD = gpp", "LD = cpp"
contents.gsub! "$(DATA_DIR)", (share+"avanor")
end
system "make"
system "make DATA_DIR=#{share}/avanor/"
bin.install "avanor"
(share+"avanor").install "manual"
end