2013-03-15 08:38:41 +00:00
|
|
|
class Ccal < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Create Chinese calendars for print or browsing"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://ccal.chinesebay.com/ccal"
|
2015-10-05 12:40:09 +00:00
|
|
|
url "http://ccal.chinesebay.com/ccal/ccal-2.5.3.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "3d4cbdc9f905ce02ab484041fbbf7f0b7a319ae6a350c6c16d636e1a5a50df96"
|
2013-03-15 08:38:41 +00:00
|
|
|
|
2015-10-12 18:56:21 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
2016-09-28 19:45:05 +00:00
|
|
|
sha256 "8ab4cd19d0e0e86ec136ef120dd8308682a34b43f17981cddc4e80d1e17042f2" => :sierra
|
2015-10-12 18:56:21 +00:00
|
|
|
sha256 "2a09b1b16f9b1ea0c89a807ebd2b9cfe43e22d1e35cd576780b1a3c986b4b0d1" => :el_capitan
|
|
|
|
sha256 "d3dc167fb2ac1507616dbf5ce5310fd5c67153d680ff242da23a44f199da7fb3" => :yosemite
|
|
|
|
sha256 "f79240c70ea10dd661005105e552d8dcc993acfb31c399b3f74f4abf9d2c0162" => :mavericks
|
|
|
|
end
|
|
|
|
|
2013-03-15 08:38:41 +00:00
|
|
|
def install
|
|
|
|
system "make", "-e", "BINDIR=#{bin}", "install"
|
|
|
|
system "make", "-e", "MANDIR=#{man}", "install-man"
|
|
|
|
end
|
2014-02-09 19:14:32 +00:00
|
|
|
|
|
|
|
test do
|
2015-10-05 12:40:09 +00:00
|
|
|
assert_match "Year JiaWu, Month 1X", shell_output("#{bin}/ccal 2 2014")
|
2014-02-09 19:14:32 +00:00
|
|
|
end
|
2013-03-15 08:38:41 +00:00
|
|
|
end
|