Fix to install in Cellar as it should

The current wakeonlan formula causes the script and man
page to get installed directly into /usr/local instead of
into the Cellar like it should, this patch fixes that.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Robert Shaw 2010-03-09 17:12:38 -08:00 committed by Adam Vandenberg
parent 26ed126501
commit 78e5a42ca6
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@ class Wakeonlan <Formula
def install
system "perl", "Makefile.PL"
# Make sure script and manual get installed in Cellar properly
inreplace "Makefile" do |s|
s.change_make_var! "INSTALLSITESCRIPT", bin
s.change_make_var! "INSTALLSITEMAN1DIR", man1
end
system "make"
system "make install"
end