forked from ziz/homebrew-games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ski.rb
26 lines (23 loc) · 773 Bytes
/
ski.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
class Ski < Formula
url "http://www.catb.org/~esr/ski/ski-6.9.tar.gz"
bottle do
cellar :any
sha256 "b0ade43d5fc9f2cf1daeddef39b20db8b99501325f8d95fd5737cf848d672d76" => :yosemite
sha256 "776cb7cf4cd96e64426121362702f00b6ec4766a14f224b125b21e56d90f530c" => :mavericks
sha256 "5a194977af957429157f86acf8b5e422f8fc293d233954f9e5e520f9a1448acc" => :mountain_lion
end
homepage "http://catb.org/~esr/ski/"
sha256 "d0f2fd7770a63319340fab8ee275c6221dff0e0e7fe488f2298f567583902d37"
head do
url "git://thyrsus.com/repositories/ski.git"
depends_on "xmlto" => :build
end
def install
if build.head?
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
system "make"
end
bin.install "ski"
man6.install "ski.6"
end
end