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