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
|
|
|
homepage 'http://www.washington.edu/alpine/'
|
2012-03-15 00:57:44 +00:00
|
|
|
url 'ftp://ftp.cac.washington.edu/alpine/alpine-2.00.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '363b3aa5d3eb1319e168639fbbc42b033b16f15b'
|
2010-03-16 04:25:50 +00:00
|
|
|
|
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-03-15 00:57:44 +00:00
|
|
|
"https://trac.macports.org/export/89747/trunk/dports/mail/alpine/files/alpine-osx-10.6.patch"
|
2012-09-05 04:04:01 +00:00
|
|
|
end if MacOS.version >= :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
|