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