Ticket #63934: fetchmail-devel-local-port.txt

File fetchmail-devel-local-port.txt, 2.4 KB (added by steven-michaud (Steven Michaud), 2 years ago)

Changes to fetchmail portfile for a local port of fetchmail-devel

Line 
1--- /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/mail/fetchmail/Portfile  2021-11-07 07:02:16.000000000 -0600
2+++ /usr/local/src/ports/mail/fetchmail-devel/Portfile  2022-09-23 11:22:06.000000000 -0500
3@@ -1,10 +1,13 @@
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+name                fetchmail-devel
12+version             6.5.0.beta7
13 revision            1
14+distname            fetchmail-${version}
15+dist_subdir         fetchmail
16 categories          mail
17 platforms           darwin
18 license             {GPL-2 OpenSSLException}
19@@ -30,32 +33,30 @@
20     read the mail, offline if you want, using Pine, \
21     mutt, or any standard mail user agent.
22 
23-if {${name} eq ${subport}} {
24-    checksums       rmd160  c8c7e9ca1840e2f78a52b55a3db0eb10f35196a0 \
25-                    sha256  6a459c1cafd7a1daa5cd137140da60c18c84b5699cd8e7249a79c33342c99d1d
26-
27-    conflicts       fetchmail-devel
28-}
29-
30-subport fetchmail-devel {
31-    version         6.5.0.beta5
32-    revision        1
33-
34-    checksums       rmd160  fd6ec69e643c538c626243f1592121859c78f6da \
35-                    sha256  25d8dcf6cbbccaf9f407cbcd85df7805b917a3ce9c5215011a719337a5bb86bc
36-
37-    conflicts       fetchmail
38-}
39+checksums           rmd160  b24c5be068b6d486eedd3254c9b290851275f539 \
40+                    sha256  ec7c7b1af74e6cf8b4011bbe4f270796775e9db672a731bc68980124b91d0133 \
41+                    size    1259548
42 
43 homepage            http://www.fetchmail.info
44 set branch          [join [lrange [split ${version} .] 0 1] .]
45-master_sites        sourceforge:project/${name}/branch_${branch}
46+master_sites        sourceforge:project/fetchmail/branch_${branch}
47+
48+python.default_version 38
49+
50+configure.env-append PYTHON=${python.bin}
51+use_configure       yes
52+build.cmd           make
53+build.target        all
54+destroot.cmd        ${build.cmd}
55+destroot.destdir    DESTDIR=${destroot}
56 
57 use_xz              yes
58 
59 depends_lib         port:gettext \
60                     port:kerberos5
61 
62+depends_build       port:python${python.version}
63+
64 configure.args      --mandir=${prefix}/share/man \
65                     --with-libiconv-prefix=${prefix} \
66                     --without-ssl --with-kerberos5=${prefix} --with-gssapi