cookbook: document pkgshare

This commit is contained in:
Dominyk Tiller 2015-08-12 15:58:23 +01:00
parent aa394bad69
commit bb4237a230

View File

@ -791,6 +791,11 @@ Generally we'd rather you were specific about what files or directories need to
<td><code>#{prefix}/share</code></td>
<td><code>/usr/local/Cellar/foo/0.1/share</code></td>
</tr>
<tr>
<th><code>pkgshare</code></th>
<td><code>#{prefix}/share/foo</code></td>
<td><code>/usr/local/Cellar/foo/0.1/share/foo</code></td>
</tr>
<tr>
<th><code>etc</code></th>
<td><code>#{HOMEBREW_PREFIX}/etc</code></td>
@ -847,6 +852,7 @@ class Yourformula < Formula
...
option "with-ham", "Description of the option"
option "without-spam", "Another description"
depends_on "foo" => :optional # will automatically add a with-foo option
...
```