aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMax Howell2009-06-05 13:43:11 +0100
committerMax Howell2009-06-05 13:43:11 +0100
commitb8a6e262696d340d2f98040487f769fa69c38375 (patch)
tree1862d18783fd6ad69533f1e7b53eba109ecc2cde /Library/Formula
parent2bdfd1bc54aea755586ed73c2a029df809780cce (diff)
downloadhomebrew-b8a6e262696d340d2f98040487f769fa69c38375.tar.bz2
Don't version docs with cmake and flac
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cmake.rb1
-rw-r--r--Library/Formula/flac.rb2
2 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index ee35e3eef..32f77bb96 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -9,5 +9,6 @@ class Cmake <Formula
system "make install"
['man','doc'].each { |d| (prefix+d).mv prefix+'share' }
+ (doc.parent+'cmake-2.6').mv doc
end
end \ No newline at end of file
diff --git a/Library/Formula/flac.rb b/Library/Formula/flac.rb
index 47896def6..8f4f77c64 100644
--- a/Library/Formula/flac.rb
+++ b/Library/Formula/flac.rb
@@ -17,6 +17,8 @@ class Flac <Formula
system "./configure --disable-debug --disable-asm-optimizations --prefix='#{prefix}' --mandir='#{prefix}/share/man'"
system "OBJ_FORMAT=macho make install"
+ (doc.parent+"#{@name}-#{@version}").mv doc
+
Flac2Mp3.new.brew do |flac2mp3|
FileUtils.chmod 0544, flac2mp3.name
FileUtils.cp flac2mp3.name, bin