aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/id3v2.rb
diff options
context:
space:
mode:
authorMax Howell2009-12-05 16:59:48 +0000
committerMax Howell2009-12-05 17:00:13 +0000
commit073c8d7f38cf206f89a9490b969c673933917033 (patch)
tree99cd108b4d3d36ef07db1d15adaea303053bc8b7 /Library/Formula/id3v2.rb
parent6879554e1f02f1885343ea38d5b93651ad1a87a8 (diff)
downloadhomebrew-073c8d7f38cf206f89a9490b969c673933917033.tar.bz2
Install manpages to correct location
Diffstat (limited to 'Library/Formula/id3v2.rb')
-rw-r--r--Library/Formula/id3v2.rb10
1 files changed, 6 insertions, 4 deletions
diff --git a/Library/Formula/id3v2.rb b/Library/Formula/id3v2.rb
index 6ebe4911a..10d39b3d6 100644
--- a/Library/Formula/id3v2.rb
+++ b/Library/Formula/id3v2.rb
@@ -8,9 +8,11 @@ class Id3v2 <Formula
depends_on 'id3lib'
def install
- inreplace 'Makefile', 'c++', '$(CXX)'
- FileUtils.mkdir_p "#{prefix}/bin"
- FileUtils.mkdir_p "#{prefix}/man/man1"
- system "make install PREFIX=#{prefix}"
+ inreplace 'Makefile', 'c++', ENV['CXX']
+ inreplace 'Makefile', '/man/man1', '/share/man/man1'
+
+ bin.mkpath
+ man1.mkpath
+ system "make", "install", "PREFIX=#{prefix}"
end
end