diff options
| author | Jason Whittle | 2011-12-06 17:02:19 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-12 21:06:36 -0700 |
| commit | 91938c963cad1fb5793062173ba5f0ad2fae3661 (patch) | |
| tree | 84041d0c2f0c2edd8b9e1df79098fbebeb28a8b0 /Library/Formula/protobuf.rb | |
| parent | ac295e746268a80ec2038d20b66ebf1a2c1b8891 (diff) | |
| download | homebrew-91938c963cad1fb5793062173ba5f0ad2fae3661.tar.bz2 | |
protobuf: install editors and examples
The source distribution includes editor extensions for emacs and vi,
as well as an examples directory. In the debian package
protobuf-compiler, the directories are installed in
share/doc/protobuf-compiler, so this commit installs them into
share/doc/protobuf.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/protobuf.rb')
| -rw-r--r-- | Library/Formula/protobuf.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/protobuf.rb b/Library/Formula/protobuf.rb index 8265ba9ad..ef1dabe47 100644 --- a/Library/Formula/protobuf.rb +++ b/Library/Formula/protobuf.rb @@ -1,8 +1,8 @@ require 'formula' class Protobuf < Formula - url 'http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2' homepage 'http://code.google.com/p/protobuf/' + url 'http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2' sha1 'df5867e37a4b51fb69f53a8baf5b994938691d6d' fails_with_llvm :build => 2334 @@ -22,5 +22,14 @@ class Protobuf < Formula "--with-zlib" system "make" system "make install" + + # Install editor support and examples + doc.install %w( editors examples ) + end + + def caveats; <<-EOS.undent + Editor support and examples have been installed to: + #{doc}/protobuf + EOS end end |
