Ticket #20971: Portfile

File Portfile, 2.0 KB (added by todmorrison (Tod Morrison), 15 years ago)

New Alpine-2.00 Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4
5name    alpine
6version 2.00
7revision 1
8categories  mail
9maintainers gmail.com:todmorrison
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
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
25default_variants +without_tcl
26
27depends_lib \
28  port:openssl \
29  port:libiconv \
30  port:gettext \
31  port:openldap \
32  port:ncurses \
33  port:cyrus-sasl2
34
35configure.env \
36  SSLDIR=${prefix}
37
38configure.args \
39  -with-lib-dir=${prefix}/lib \
40  -with-include-dir=${prefix}/include \
41  -with-krb5-include-dir=${prefix}/include \
42  -with-krb5-lib-dir=${prefix}/lib \
43  -with-ldap-include-dir=${prefix}/include \
44  -with-ldap-lib-dir=${prefix}/lib \
45  -with-ssl-include-dir=${prefix}/include \
46  -with-ssl-lib-dir=${prefix}/lib \
47  --with-c-client-target=oxp \
48  --with-local-password-cache-method \
49  --with-debug-level=0
50
51build.args \
52  C_CLIENT_SPECIALS="GSSLIB=/${prefix}/lib SSLDIR=${prefix}"
53
54variant without_krb5 description {Disable Kerberos5 support} {
55  depends_lib-delete port:cyrus-sasl2
56  configure.args-append --without-krb5
57}
58
59variant without_ldap description {Disable LDAP support} {
60  depends_lib-delete port:openldap
61  configure.args-append --without-ldap
62}
63
64variant without_ssl description {Disable SSL support} {
65  depends_lib-delete port:openssl
66  configure.args-append --without-ssl
67  build.env-append SSLTYPE=none
68}
69
70variant without_tcl description {Disable TCL support (disables Alpine Web)} {
71  configure.args-append --without-tcl
72}
73
74variant passfile description {Enable password files support} {
75  configure.args-delete --with-local-password-cache-method
76  configure.args-append --with-passfile=".pine.pwd"
77}