source: trunk/dports/mail/alpine/Portfile @ 67213

Last change on this file since 67213 was 67213, checked in by jmr@…, 9 years ago

alpine: rev bump to link with new openldap (#24758)

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