Ticket #25428: Portfile

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

Re-alpine portfile (fixed for 10.6)

Line 
1# $Id$
2
3PortSystem 1.0
4
5name    re-alpine
6version 2.01
7categories  mail
8maintainers nomaintainer
9description re-alpine - a Program for Internet News and Email
10homepage  http://re-alpine.sourceforge.net
11platforms darwin
12
13long_description Re-Alpine is a tool for reading, sending, and managing \
14  electronic messages that was designed with novice users in mind.
15
16master_sites  sourceforge
17checksums     md5     157b9aa58997af20e58f591888bfa1e1 \
18              sha1    50a9715176d5da25f38816b73d12f84fd1c09bb1 \
19              rmd160 3906b75ece8cca6561ff3fafb1a1ee9033a825d0
20use_bzip2  yes
21
22use_parallel_build no
23
24patch.pre_args -p1
25patchfiles patch-alpine-Makefile.in.diff \
26           patch-alpine-smkeys.c.diff
27
28platform darwin 10 {
29  patchfiles-append alpine-osx-10.6.patch
30}
31
32depends_lib \
33  port:openssl \
34  port:libiconv \
35  port:gettext \
36  port:openldap \
37  port:ncurses \
38  port:cyrus-sasl2
39
40configure.env \
41  SSLDIR=${prefix}
42
43configure.args \
44  -with-krb5-dir=${prefix} \
45  -with-ldap-dir=${prefix} \
46  -with-ssl-include-dir=${prefix}/include/openssl \
47  -with-ssl-lib-dir=${prefix}/lib \
48  --with-c-client-target=oxp \
49  --with-local-password-cache-method \
50  --with-debug-level=0 \
51  --without-tcl
52
53variant without_krb5 description {Disable Kerberos5 support} {
54  depends_lib-delete port:cyrus-sasl2
55  configure.args-append --without-krb5
56}
57
58variant without_ldap description {Disable LDAP support} {
59  depends_lib-delete port:openldap
60  configure.args-append --without-ldap
61}
62
63variant without_ssl description {Disable SSL support} {
64  depends_lib-delete port:openssl
65  configure.args-append --without-ssl
66  build.env-append SSLTYPE=none
67}
68
69variant tcl description {Enable TCL support (enables Alpine Web)} {
70  depends_lib-append port:tcl
71  configure.args-delete --without-tcl
72  configure.args-append --with-tcl-lib=${prefix}/lib \
73                        --with-tcl-include=${prefix}/include
74}
75
76variant passfile description {Enable password files support} {
77  configure.args-delete --with-local-password-cache-method
78  configure.args-append --with-passfile=".pine.pwd"
79}