Ticket #16407: Portfile

File Portfile, 1.9 KB (added by todmorrison (Tod Morrison), 16 years ago)

Alpine 2.00 Portfile

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