homebrew-core/Formula/jsdoc-toolkit.rb

16 lines
473 B
Ruby
Raw Normal View History

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