4b48a9ea01
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>
21 lines
550 B
Ruby
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
|