homebrew-core/Formula/myman.rb
2017-07-08 03:16:56 -07:00

33 lines
1.2 KiB
Ruby

class Myman < Formula
desc "Text-mode videogame inspired by Namco's Pac-Man"
homepage "https://myman.sourceforge.io/"
url "https://downloads.sourceforge.net/project/myman/myman-cvs/myman-cvs-2009-10-30/myman-wip-2009-10-30.tar.gz"
sha256 "bf69607eabe4c373862c81bf56756f2a96eecb8eaa8c911bb2abda78b40c6d73"
head ":pserver:anonymous:@myman.cvs.sourceforge.net:/cvsroot/myman", :using => :cvs
bottle do
rebuild 2
sha256 "376c71ad2f5abcc0233b3873d70cc963e54ac0ca00a552eceb025ac09b931ff6" => :sierra
sha256 "d3b66de7eae03edecb2573524d94239bd013ffd57eeb1980411da12f6d2b2b98" => :el_capitan
sha256 "b318e0b227a3ad281afe95edc5a0cc7ab0b1d5e46b1699e6221eb201de869b48" => :yosemite
end
depends_on "coreutils" => :build
depends_on "gnu-sed" => :build
depends_on "groff" => :build
def install
ENV["RMDIR"] = "grmdir"
ENV["SED"] = "gsed"
ENV["INSTALL"] = "ginstall"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/myman", "-k"
end
end