# -*- 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

PortSystem          1.0
PortGroup           github 1.0
PortGroup           meson 1.0
PortGroup           legacysupport 1.0

# localtime_r
legacysupport.newest_darwin_requires_legacy 8

github.setup        libesmtp libESMTP 1.1.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

name                libesmtp
revision            1
categories          mail
maintainers         nomaintainer
license             LGPL-2.1

description         ESMTP library

long_description    libESMTP is a library to manage posting (or submission of) \
                    electronic mail using SMTP to a preconfigured Mail Transport \
                    Agent (MTA) such as Exim. It may be used as part of a Mail \
                    User Agent (MUA) or another program that must be able to \
                    post electronic mail but where mail functionality is not \
                    that program’s primary purpose. libESMTP is not intended \
                    to be used as part of a program that implements a Mail \
                    Transport Agent. It is hoped that the availability of a \
                    lightweight library implementing an SMTP client will both \
                    ease the task of coding for software authors and improve the \
                    quality of the resulting code.

checksums           rmd160  98165687c690659144bcbe0bd179fa5347c421d0 \
                    sha256  3d1aadb0af071f0989db09def5e7033c2b384e42893562e546823ef1d2a435f4 \
                    size    169157

depends_lib         path:lib/libssl.dylib:openssl

patchfiles          patch-libesmtp-meson.diff \
                    patch-libesmtp-missing.diff \
                    patch-libesmtp-errors.diff \
                    patch-libesmtp-headers.diff \
                    patch-libesmtp-rfc2822date.diff \
                    patch-libesmtp-smtp-tls.diff

compiler.c_standard 2011
