homebrew-core/Formula/jsdoc-toolkit.rb

16 lines
475 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class JsdocToolkit < Formula
2010-08-21 19:01:45 +00:00
homepage 'http://code.google.com/p/jsdoc-toolkit/'
url 'https://jsdoc-toolkit.googlecode.com/files/jsdoc_toolkit-2.4.0.zip'
sha1 'bd276ec58dbd419326760226174eba09810d26ee'
def install
2010-08-08 17:20:15 +00:00
system "/bin/echo '#!/bin/ksh\nJSDOCDIR=\"#{libexec}/jsdoc-toolkit\"' > jsdoc"
system "/usr/bin/grep -v \"^echo \\$CMD$\" jsdoc-toolkit/jsrun.sh >> jsdoc"
bin.install 'jsdoc'
libexec.install 'jsdoc-toolkit'
end
end