2010-04-24 17:46:56 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class IcalBuddy < Formula
|
2010-04-24 17:46:56 +00:00
|
|
|
homepage 'http://hasseg.org/icalBuddy/'
|
|
|
|
head "http://hasseg.org/git-public/icalBuddy.git", :using => :git
|
|
|
|
|
|
|
|
def install
|
2010-08-08 04:04:37 +00:00
|
|
|
arch = snow_leopard_64? ? "x86_64" : "i386"
|
2010-04-24 17:46:56 +00:00
|
|
|
|
|
|
|
inreplace "Makefile", "-arch i386 -arch x86_64 -arch ppc", "-arch #{arch}"
|
|
|
|
system "make icalBuddy icalBuddy.1 icalBuddyLocalization.1 icalBuddyConfig.1"
|
|
|
|
|
|
|
|
bin.install "icalBuddy"
|
|
|
|
man1.install Dir["*.1"]
|
|
|
|
end
|
|
|
|
end
|