2010-03-16 04:25:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Alpine < Formula
|
2010-03-16 04:25:50 +00:00
|
|
|
url 'ftp://ftp.cac.washington.edu/alpine/alpine-2.00.tar.gz'
|
|
|
|
homepage 'http://www.washington.edu/alpine/'
|
|
|
|
md5 '0f4757167baf5c73aa44f2ffa4860093'
|
|
|
|
|
2012-02-09 05:36:47 +00:00
|
|
|
# Upstream builds are broken on Snow Leopard due to a hack put in
|
|
|
|
# for prior versions of OS X. See:
|
|
|
|
# http://trac.macports.org/ticket/20971
|
2011-04-08 18:16:37 +00:00
|
|
|
def patches
|
2012-02-09 05:36:47 +00:00
|
|
|
{ :p1 =>
|
|
|
|
"https://trac.macports.org/export/89747/trunk/dports/mail/alpine/files/alpine-osx-10.6.patch"
|
|
|
|
}
|
|
|
|
end if MacOS.snow_leopard?
|
2010-03-16 04:25:50 +00:00
|
|
|
|
2011-04-08 18:16:37 +00:00
|
|
|
def install
|
2010-03-16 04:25:50 +00:00
|
|
|
ENV.j1
|
2011-04-08 18:16:37 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-ssl-include-dir=/usr/include/openssl"
|
2010-03-16 04:25:50 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|