2010-01-18 08:08:44 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pos < Formula
|
2013-01-28 05:36:28 +00:00
|
|
|
homepage "http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Unix_and_OS_X:_The_Absolute_Essentials"
|
2010-01-18 08:08:44 +00:00
|
|
|
url 'http://www.finkproject.org/bindist/dists/fink-0.9.0/main/source/utils/pos-1.2.tgz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '320dc42b80508338f2f5f4e330d0c39462e3bba8'
|
2010-01-18 08:08:44 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
bin.install %w[bin/fdc bin/posd]
|
|
|
|
share.install %w[Finder_Toolbar_Applications.dmg.gz iTerm.webloc]
|
|
|
|
end
|
2011-09-24 15:37:36 +00:00
|
|
|
|
2013-01-28 05:36:28 +00:00
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
cdf (change terminal window to current finder window)
|
|
|
|
needs to be installed as an alias in your shell init.
|
|
|
|
For example, add the following to your .bash_profile:
|
|
|
|
if [ -f `brew --prefix`/bin/posd ]; then
|
|
|
|
alias cdf='cd "`posd`"'
|
|
|
|
fi
|
|
|
|
EOS
|
2011-09-24 15:37:36 +00:00
|
|
|
end
|
2010-01-18 08:08:44 +00:00
|
|
|
end
|