homebrew-core/Formula/c-kermit.rb

19 lines
530 B
Ruby

require 'formula'
class CKermit < Formula
url 'http://www.kermitproject.org/ftp/kermit/archives/cku302.tar.gz'
homepage 'http://www.kermitproject.org/'
sha1 'd04c8b5600bc0bb0f163d294881f7a5a0d4395b5'
version '9.0.302'
def install
system "make macosx"
man1.mkpath
# The makefile adds /man to the end of manroot when running install
# hence we pass share here, not man. If we don't pass anything it
# uses {prefix}/man
system "make", "prefix=#{prefix}", "manroot=#{share}", "install"
end
end