aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-03-03 15:59:37 -0800
committerAdam Vandenberg2012-03-03 16:00:11 -0800
commit6fabc1eb82b0faae04c5ffdd6c43dc441d352a20 (patch)
treea5ec0aac045b6783ac1ff36a337a09bcfab7e16d /Library/Formula
parenta4a65db4616fd84270fbf758ff279bc89af5fcb9 (diff)
downloadhomebrew-6fabc1eb82b0faae04c5ffdd6c43dc441d352a20.tar.bz2
Poster: style tweaks
Just install files manually instead of hacking the Makefile. Remove the test.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/poster.rb15
1 files changed, 4 insertions, 11 deletions
diff --git a/Library/Formula/poster.rb b/Library/Formula/poster.rb
index e03cf55dd..7030c678f 100644
--- a/Library/Formula/poster.rb
+++ b/Library/Formula/poster.rb
@@ -1,20 +1,13 @@
require 'formula'
class Poster < Formula
- url 'https://github.com/schrfr/poster/tarball/1.0.0'
homepage 'http://schrfr.github.com/poster/'
+ url 'https://github.com/schrfr/poster/tarball/1.0.0'
md5 'c76de471156c65b8182de0e6f5c8f1b5'
def install
- inreplace "Makefile", "/usr/local/bin", bin
- inreplace "Makefile", "/usr/local/man/man1", man1
- bin.mkpath
- man1.mkpath
- system "make install"
+ system "make"
+ bin.install 'poster'
+ man1.install 'poster.1'
end
-
- def test
- return `which poster`.strip != ""
- end
-
end