Ticket #13690: Portfile

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

Revised Alpine Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4
5name    alpine
6version 1.00
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 c5dad25d8f848cad0e3077edd3038c43
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 {
70  description Enable password files support
71  configure.args-delete --with-local-password-cache-method
72  configure.args-append --with-passfile=".pine.pwd"
73}