diff options
| author | Jack Nagel | 2011-09-14 21:28:55 -0500 |
|---|---|---|
| committer | Jack Nagel | 2011-09-14 21:32:36 -0500 |
| commit | 63109e8cc5359e93c8f0e7c932f89ae57ca0bb16 (patch) | |
| tree | 19ee11c16c816303cecb33fe0390876b4b1db833 | |
| parent | 47367348e5b700c202c0b547c77eeb2a31f01074 (diff) | |
| download | homebrew-63109e8cc5359e93c8f0e7c932f89ae57ca0bb16.tar.bz2 | |
wakeonlan: use manual install step
This prevents the Makefile from trying to drop things into
/Library/Perl without having to use inreplace or a patch.
Fixes #7630.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/wakeonlan.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Library/Formula/wakeonlan.rb b/Library/Formula/wakeonlan.rb index 699ead8b8..72a075c91 100644 --- a/Library/Formula/wakeonlan.rb +++ b/Library/Formula/wakeonlan.rb @@ -7,12 +7,8 @@ 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" + bin.install 'blib/script/wakeonlan' + man1.install 'blib/man1/wakeonlan.1' end end |
