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