--- /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/mail/fetchmail/Portfile 2021-11-07 07:02:16.000000000 -0600 +++ /usr/local/src/ports/mail/fetchmail-devel/Portfile 2022-09-23 11:22:06.000000000 -0500 @@ -1,10 +1,13 @@ # -*- 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 +name fetchmail-devel +version 6.5.0.beta7 revision 1 +distname fetchmail-${version} +dist_subdir fetchmail categories mail platforms darwin license {GPL-2 OpenSSLException} @@ -30,32 +33,30 @@ read the mail, offline if you want, using Pine, \ mutt, or any standard mail user agent. -if {${name} eq ${subport}} { - checksums rmd160 c8c7e9ca1840e2f78a52b55a3db0eb10f35196a0 \ - sha256 6a459c1cafd7a1daa5cd137140da60c18c84b5699cd8e7249a79c33342c99d1d - - conflicts fetchmail-devel -} - -subport fetchmail-devel { - version 6.5.0.beta5 - revision 1 - - checksums rmd160 fd6ec69e643c538c626243f1592121859c78f6da \ - sha256 25d8dcf6cbbccaf9f407cbcd85df7805b917a3ce9c5215011a719337a5bb86bc - - conflicts fetchmail -} +checksums rmd160 b24c5be068b6d486eedd3254c9b290851275f539 \ + sha256 ec7c7b1af74e6cf8b4011bbe4f270796775e9db672a731bc68980124b91d0133 \ + size 1259548 homepage http://www.fetchmail.info set branch [join [lrange [split ${version} .] 0 1] .] -master_sites sourceforge:project/${name}/branch_${branch} +master_sites sourceforge:project/fetchmail/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