homebrew-core/Formula/jsdoc-toolkit.rb
Matti Schneider-Ghibaudo b808ccc86e JSdoc-toolkit 2.4.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-17 06:43:42 -07:00

15 lines
475 B
Ruby

require 'formula'
class JsdocToolkit < Formula
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
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