diff options
Diffstat (limited to 'Library/Formula/rogue.rb')
| -rw-r--r-- | Library/Formula/rogue.rb | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Library/Formula/rogue.rb b/Library/Formula/rogue.rb index cf97e4212..50a6325bf 100644 --- a/Library/Formula/rogue.rb +++ b/Library/Formula/rogue.rb @@ -6,19 +6,14 @@ class Rogue <Formula version '5.4.4' sha1 'aef9e589c4f31eb6d3eeb9d543ab8787b00fb022' - def skip_clean? path - path == libexec - end - def install ENV.ncurses_define if MACOS_VERSION == 10.6 - system "./configure", "--prefix=#{prefix}", - "--disable-debug", - "--disable-dependency-tracking" + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}" + + inreplace "config.h", "rogue.scr", "#{var}/rogue/rogue.scr" - inreplace "config.h", "rogue.scr", "#{libexec}/rogue.scr" - inreplace "Makefile" do |s| # Take out weird man install script and DIY below s.gsub! "-if test -d $(man6dir) ; then $(INSTALL) -m 0644 rogue.6 $(DESTDIR)$(man6dir)/$(PROGRAM).6 ; fi", "" @@ -26,7 +21,7 @@ class Rogue <Formula end system "make install" - (man+'man6').install gzip("rogue.6") + man6.install gzip("rogue.6") libexec.mkdir end end |
