homebrew-core/Formula/pos.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

19 lines
497 B
Ruby

require 'formula'
class Pos <Formula
url 'http://www.finkproject.org/bindist/dists/fink-0.9.0/main/source/utils/pos-1.2.tgz'
md5 'c667fb4ca38c96494f888ade9fb4e40a'
homepage "http://sage.ucsc.edu/~wgscott/xtal/wiki/index.php/Unix_and_OS_X:_The_Absolute_Essentials"
def cdf_script; <<-END
#!/bin/bash
cd "$(posd)"
END
end
def install
bin.install %w[bin/fdc bin/posd]
(bin+'cdf').write cdf_script
share.install %w[Finder_Toolbar_Applications.dmg.gz iTerm.webloc]
end
end