aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorNathan de Vries2011-07-25 02:59:37 +1000
committerAdam Vandenberg2011-09-03 11:44:31 -0700
commit6afb3a0f674f8d6d7e3232fcd4c86b8934151e52 (patch)
tree2a00245d6a1db025fe0dd93c1765ba39c6def073 /Library
parente9ce2c03fb2a13a8c0659bbb34f3bb674e3880aa (diff)
downloadhomebrew-6afb3a0f674f8d6d7e3232fcd4c86b8934151e52.tar.bz2
Mogenerator 1.23.
* Install the Mogenerator default templates & provide instructions for copying them into "~/Library/Application Support/mogenerator". * Force the use of Clang. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mogenerator.rb21
1 files changed, 19 insertions, 2 deletions
diff --git a/Library/Formula/mogenerator.rb b/Library/Formula/mogenerator.rb
index 6a70c5805..119b856c8 100644
--- a/Library/Formula/mogenerator.rb
+++ b/Library/Formula/mogenerator.rb
@@ -1,13 +1,30 @@
require 'formula'
class Mogenerator < Formula
- url 'https://github.com/rentzsch/mogenerator/tarball/1.22'
+ url 'https://github.com/rentzsch/mogenerator/tarball/1.23'
homepage 'http://rentzsch.github.com/mogenerator/'
- md5 '72084ea17995f3ef9faa1ce9379a5ca3'
+ md5 'cb6bcbb1fe8303a89e8ee27b789ac8ed'
head "https://github.com/rentzsch/mogenerator.git"
def install
+ ENV.clang
system "xcodebuild -target mogenerator -configuration Release SYMROOT=symroot OBJROOT=objroot"
bin.install "symroot/Release/mogenerator"
+
+ # Install default demplates
+ (prefix+'templates').install Dir['templates/*.motemplate']
+ end
+
+ def caveats; <<-EOS.undent
+ A default set of Mogenerator templates have been installed to:
+ #{prefix}/templates
+
+ If you haven't written your own templates, you may wish to copy these for
+ your own use:
+
+ mkdir -p "#{ENV['HOME']}/Library/Application Support/mogenerator"
+ cp #{prefix}/templates/*.motemplate "#{ENV['HOME']}/Library/Application Support/mogenerator/"
+
+ EOS
end
end