24 lines
730 B
Ruby
24 lines
730 B
Ruby
require 'formula'
|
|
|
|
class Alpine < Formula
|
|
url 'ftp://ftp.cac.washington.edu/alpine/alpine-2.00.tar.gz'
|
|
homepage 'http://www.washington.edu/alpine/'
|
|
md5 '0f4757167baf5c73aa44f2ffa4860093'
|
|
|
|
# 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
|
|
def patches
|
|
{ :p1 =>
|
|
"https://trac.macports.org/export/89747/trunk/dports/mail/alpine/files/alpine-osx-10.6.patch"
|
|
}
|
|
end if MacOS.snow_leopard?
|
|
|
|
def install
|
|
ENV.j1
|
|
system "./configure", "--disable-debug",
|
|
"--prefix=#{prefix}",
|
|
"--with-ssl-include-dir=/usr/include/openssl"
|
|
system "make install"
|
|
end
|
|
end
|