diff options
| author | Robert Shaw | 2010-03-09 17:12:38 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2010-03-11 12:00:38 -0800 |
| commit | e3f93c4e578659d268c0723e838450dbcd4cf17c (patch) | |
| tree | 3ee2db53dadaa2efe4a951deb45efb64d038fe77 /Library | |
| parent | 6f3b4ddf66190ef83c7c84cb1624d25f9bc95412 (diff) | |
| download | homebrew-e3f93c4e578659d268c0723e838450dbcd4cf17c.tar.bz2 | |
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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/wakeonlan.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/wakeonlan.rb b/Library/Formula/wakeonlan.rb index 1448e850f..766d06210 100644 --- a/Library/Formula/wakeonlan.rb +++ b/Library/Formula/wakeonlan.rb @@ -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 |
