homebrew-core/Formula/naturaldocs.rb
2018-03-24 06:12:34 -07:00

21 lines
575 B
Ruby

class Naturaldocs < Formula
desc "Extensible, multi-language documentation generator"
homepage "http://www.naturaldocs.org/"
url "https://downloads.sourceforge.net/project/naturaldocs/Stable%20Releases/1.52/NaturalDocs-1.52.zip"
sha256 "3f13c99e15778afe6c5555084a083f856e93567b31b08acd1fd81afb10082681"
bottle :unneeded
def install
# Remove Windows files
rm_rf Dir["*.bat"]
libexec.install Dir["*"]
chmod 0755, libexec+"NaturalDocs"
bin.install_symlink libexec+"NaturalDocs"
end
test do
system "#{bin}/naturaldocs", "-h"
end
end