homebrew-core/Formula/naturaldocs.rb

17 lines
433 B
Ruby
Raw Normal View History

require 'formula'
class Naturaldocs < Formula
2011-07-29 15:34:26 +00:00
homepage 'http://www.naturaldocs.org/'
url 'https://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip'
sha1 '0457bdd60beb2275a1fad414e6ba0a56798a7993'
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