Ticket #20971: Portfile-oliver-10.6

File Portfile-oliver-10.6, 2.1 KB (added by oliver@…, 15 years ago)

Portfile to apply 10.6 patch

Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name    alpine
6version 2.00
7categories  mail
8maintainers gmail.com:todmorrison
9description alpine - a Program for Internet News and Email
10homepage  http://www.washington.edu/alpine/
11platforms darwin
12use_parallel_build  no
13
14long_description Alpine is a tool for reading, sending, and managing \
15  electronic messages that was designed with novice users in mind.
16
17distname ${name}
18master_sites  ftp://ftp.cac.washington.edu/alpine/ \
19  ftp://ftp.cac.washington.edu/alpine/old/
20checksums  md5 84e44cbf71ed674800a5d57eed9c1c52
21use_bzip2  yes
22
23worksrcdir ${distname}-${version}
24
25patchfiles alpine-osx-10.6.patch
26patch.pre_args -p1
27
28default_variants +without_tcl
29
30depends_lib \
31  port:openssl \
32  port:libiconv \
33  port:gettext \
34  port:openldap \
35  port:ncurses \
36  port:cyrus-sasl2
37
38configure.env \
39  SSLDIR=${prefix}
40
41configure.args \
42  -with-lib-dir=${prefix}/lib \
43  -with-include-dir=${prefix}/include \
44  -with-krb5-include-dir=${prefix}/include \
45  -with-krb5-lib-dir=${prefix}/lib \
46  -with-ldap-include-dir=${prefix}/include \
47  -with-ldap-lib-dir=${prefix}/lib \
48  -with-ssl-include-dir=${prefix}/include \
49  -with-ssl-lib-dir=${prefix}/lib \
50  --with-local-password-cache-method \
51  --with-debug-level=0
52
53build.args \
54  C_CLIENT_SPECIALS="GSSLIB=/${prefix}/lib SSLDIR=${prefix}"
55
56variant without_krb5 description {Disable Kerberos5 support} {
57  depends_lib-delete port:cyrus-sasl2
58  configure.args-append --without-krb5
59}
60
61variant without_ldap description {Disable LDAP support} {
62  depends_lib-delete port:openldap
63  configure.args-append --without-ldap
64}
65
66variant without_ssl description {Disable SSL support} {
67  depends_lib-delete port:openssl
68  configure.args-append --without-ssl
69  build.env-append SSLTYPE=none
70}
71
72variant without_tcl description {Disable TCL support (disables Alpine Web)} {
73  configure.args-append --without-tcl
74}
75
76variant passfile description {Enable password files support} {
77  configure.args-delete --with-local-password-cache-method
78  configure.args-append --with-passfile=".pine.pwd"
79}