--- Portfile.org 2021-11-07 07:02:16.000000000 -0600 +++ Portfile 2021-11-12 17:05:08.000000000 -0600 @@ -1,6 +1,7 @@ # -*- 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 python 1.0 name fetchmail version 6.4.21 @@ -51,11 +52,22 @@ set branch [join [lrange [split ${version} .] 0 1] .] master_sites sourceforge:project/${name}/branch_${branch} +python.default_version 38 + +configure.env-append PYTHON=${python.bin} +use_configure yes +build.cmd make +build.target all +destroot.cmd ${build.cmd} +destroot.destdir DESTDIR=${destroot} + use_xz yes depends_lib port:gettext \ port:kerberos5 +depends_build port:python${python.version} + configure.args --mandir=${prefix}/share/man \ --with-libiconv-prefix=${prefix} \ --without-ssl --with-kerberos5=${prefix} --with-gssapi