homebrew-core/Formula/jsdoc-toolkit.rb
2011-03-12 11:55:09 -08:00

15 lines
474 B
Ruby

require 'formula'
class JsdocToolkit < Formula
url 'http://jsdoc-toolkit.googlecode.com/files/jsdoc_toolkit-2.3.2.zip'
homepage 'http://code.google.com/p/jsdoc-toolkit/'
sha1 'd8c3977cee202c06a9d6a85b2b9b068d21309fad'
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