2011-01-04 23:51:45 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class CKermit < Formula
|
2011-11-07 07:26:13 +00:00
|
|
|
homepage 'http://www.kermitproject.org/'
|
2013-01-27 02:02:40 +00:00
|
|
|
url 'http://www.kermitproject.org/ftp/kermit/archives/cku302.tar.gz'
|
2011-11-07 07:26:13 +00:00
|
|
|
version '9.0.302'
|
2013-01-27 02:02:40 +00:00
|
|
|
sha1 'd04c8b5600bc0bb0f163d294881f7a5a0d4395b5'
|
2011-01-04 23:51:45 +00:00
|
|
|
|
|
|
|
def install
|
2011-07-05 20:25:15 +00:00
|
|
|
system "make macosx"
|
2011-01-04 23:51:45 +00:00
|
|
|
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
|