homebrew-core/Formula/naturaldocs.rb

17 lines
423 B
Ruby
Raw Normal View History

require 'formula'
class Naturaldocs < Formula
2011-07-29 15:34:26 +00:00
homepage 'http://www.naturaldocs.org/'
2012-02-13 01:21:37 +00:00
url 'http://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip'
2011-07-29 15:34:26 +00:00
md5 '68e3982acae57b6befdf9e75b420fd80'
2011-07-29 15:34:26 +00:00
def install
2012-02-13 01:21:37 +00:00
# Remove Windows files
2011-07-29 15:34:26 +00:00
rm_rf Dir['*.bat']
2011-07-29 15:34:26 +00:00
libexec.install Dir['*']
chmod 0755, libexec+'NaturalDocs'
2012-02-13 01:21:37 +00:00
bin.install_symlink libexec+'NaturalDocs'
2011-07-29 15:34:26 +00:00
end
end