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
parent
26ed126501
commit
78e5a42ca6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue