homebrew-core/Formula/boxes.rb
Devin Weaver 4b48a9ea01 Adds new formula: boxes
http://boxes.thomasjensen.com/

    /*       _\|/_
             (o o)
     +----oOO-{_}-OOo----+
     | boxes draws any   |
     | kind of boxes     |
     | around your text! |
     +------------------*/

A simple text filter that will add boxes of ASCII text around the
filtered text.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-07-01 23:23:04 -07:00

21 lines
550 B
Ruby

require 'formula'
class Boxes <Formula
url 'http://boxes.thomasjensen.com/download/boxes-1.1.src.tar.gz'
homepage 'http://boxes.thomasjensen.com/'
md5 'd2ef9fa28a87bf32b3fe0c47ab82fa97'
def install
# distro uses /usr/share/boxes change to prefix
inreplace 'Makefile' do |contents|
contents.change_make_var! "GLOBALCONF", "#{share}/boxes-config"
end
system "make"
# No make install have to manually copy files
bin.install 'src/boxes'
man1.install 'doc/boxes.1'
share.install 'boxes-config'
end
end