export HOMEBREW_ROOT=<%= @installdir %>
export HOMEBREW_CACHE=<%= @cachedir %>

export BOXEN_HOMEBREW_BOTTLE_URL=<%= scope.lookupvar("::homebrew_bottle_url") %>

<% if @set_cflags %>
export CFLAGS="-I$HOMEBREW_ROOT/include"
<% end %>

<% if @set_ldflags %>
export LDFLAGS="-L$HOMEBREW_ROOT/lib"
<% end %>

export HOMEBREW_ROOT=<%= @installdir %>
export HOMEBREW_CACHE=<%= @cachedir %>

export BOXEN_HOMEBREW_BOTTLE_URL=<%= scope.lookupvar("::homebrew_bottle_url") %>

<% if @set_cflags %>
export CFLAGS="-I$HOMEBREW_ROOT/include"
<% end %>

<% if @set_ldflags %>
export LDFLAGS="-L$HOMEBREW_ROOT/lib"
<% end %>

# Add homebrew'd stuff to the path.

export PATH=$HOMEBREW_ROOT/bin:$HOMEBREW_ROOT/sbin:$PATH

# Add homebrew'd stuff to the manpath.

export MANPATH=$HOMEBREW_ROOT/share/man:$MANPATH

Add homebrew's bin/sbin to PATH, and man to MANPATH
Add homebrew's bin/sbin to PATH, and man to MANPATH
