# -*- 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 cmake 1.1 PortGroup github 1.0 PortGroup legacysupport 1.1 PortGroup openssl 1.0 # utimensat legacysupport.newest_darwin_requires_legacy 16 legacysupport.redirect_bins nmail github.setup d99kris nmail 5.1.16 v revision 0 categories mail sysutils license MIT maintainers {@barracuda156 gmail.com:vital.had} openmaintainer description Terminal-based e-mail client long_description {*}${description} for macOS and Linux. checksums rmd160 506e32eb80b82c4eb427fc74773947b65a77b280 \ sha256 d0c9063521264acc73f70ef66cbc8830015df60395ca463d35518313ad7e8c61 \ size 1908525 github.tarball_from archive depends_lib-append port:cyrus-sasl2 \ port:libetpan \ port:libmagic \ port:ncurses \ port:ossp-uuid \ port:sqlite3 \ port:xapian-core compiler.cxx_standard 2014 # https://github.com/d99kris/nmail/issues/169 patchfiles-append patch-remove-brewisms.diff set py_ver 3.12 set py_ver_nodot [string map {. {}} ${py_ver}] configure.python ${prefix}/bin/python${py_ver} depends_run-append port:python${py_ver_nodot} post-patch { reinplace "s|/usr/bin/env python3|${configure.python}|" \ ${worksrcpath}/src/oauth2nmail }