homebrew-core/Formula/naturaldocs.rb
Patrick Stadler d2788c31ea NaturalDocs 1.52
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-28 21:05:35 -07:00

20 lines
455 B
Ruby

require 'formula'
class Naturaldocs < Formula
url 'http://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip'
homepage 'http://www.naturaldocs.org/'
md5 '68e3982acae57b6befdf9e75b420fd80'
def install
# Remove batch files
rm_rf Dir['*.bat']
# Install
libexec.install Dir['*']
chmod 0755, libexec+'NaturalDocs'
bin.mkpath
# Symlink binary
ln_s libexec+'NaturalDocs', bin+'NaturalDocs'
end
end