# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers netpurgatory.com:john gmail.com:jerryyhom openmaintainer
homepage https://web.archive.org/web/20170627061225/http://alpine.freeiz.com
description alpine - a Program for Internet News and Email
long_description Alpine is a tool for reading, sending, and \
managing electronic messages that was designed \
with novice users in mind.
master_sites http://www.netpurgatory.com/alpine
checksums rmd160 627002cea8fecb2e4f418ff6f94e89e9b334c474 \
sha256 6030b6881b8168546756ab3a5e43628d8d564539b0476578e287775573a77438
depends_lib port:gettext \
configure.env SSLDIR=${prefix}
configure.args --with-lib-path=${prefix}/lib \
--with-include-path=${prefix}/include \
-with-krb5-include-dir=${prefix}/include \
-with-krb5-lib-dir=${prefix}/lib \
-with-ldap-include-dir=${prefix}/include \
-with-ldap-lib-dir=${prefix}/lib \
--with-ssl-include-dir=${prefix}/include/openssl \
--with-ssl-lib-dir=${prefix}/lib \
--with-local-password-cache-method \
build.args CC=${configure.cc} \
EXTRACFLAGS="[get_canonical_archflags cc]" \
EXTRALDFLAGS="[get_canonical_archflags ld]" \
SPECIALS="GSSDIR=${prefix} SSLDIR=${prefix}"
variant passfile description {Enable password files support} {
configure.args-delete --with-local-password-cache-method
configure.args-append --with-passfile=".pine.pwd"
variant kerberos description {Kerberos support} {
depends_lib-append port:cyrus-sasl2
configure.args-delete --without-krb5
variant ldap description {LDAP support} {
depends_lib-append port:openldap