1 | --- Portfile.org 2021-11-07 07:02:16.000000000 -0600 |
---|
2 | +++ Portfile 2021-11-12 17:05:08.000000000 -0600 |
---|
3 | @@ -1,6 +1,7 @@ |
---|
4 | # -*- 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 |
---|
5 | |
---|
6 | PortSystem 1.0 |
---|
7 | +PortGroup python 1.0 |
---|
8 | |
---|
9 | name fetchmail |
---|
10 | version 6.4.21 |
---|
11 | @@ -51,11 +52,22 @@ |
---|
12 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
13 | master_sites sourceforge:project/${name}/branch_${branch} |
---|
14 | |
---|
15 | +python.default_version 38 |
---|
16 | + |
---|
17 | +configure.env-append PYTHON=${python.bin} |
---|
18 | +use_configure yes |
---|
19 | +build.cmd make |
---|
20 | +build.target all |
---|
21 | +destroot.cmd ${build.cmd} |
---|
22 | +destroot.destdir DESTDIR=${destroot} |
---|
23 | + |
---|
24 | use_xz yes |
---|
25 | |
---|
26 | depends_lib port:gettext \ |
---|
27 | port:kerberos5 |
---|
28 | |
---|
29 | +depends_build port:python${python.version} |
---|
30 | + |
---|
31 | configure.args --mandir=${prefix}/share/man \ |
---|
32 | --with-libiconv-prefix=${prefix} \ |
---|
33 | --without-ssl --with-kerberos5=${prefix} --with-gssapi |
---|