Ticket #14747: Portfile

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