Commits

Marcus Calhoun-Lopez authored 627d860ff1e
openconnect-gui: use qmake5 PortGroup
No tags

net/openconnect-gui/Portfile

Modified
1 1 # -*- 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
2 2
3 3 PortSystem 1.0
4 4 PortGroup github 1.0
5 -PortGroup qt5 1.0
5 +PortGroup qmake5 1.0
6 6
7 7 github.setup openconnect openconnect-gui 1.3 v
8 +revision 1
8 9 categories net
9 10 platforms darwin
10 11 maintainers nomaintainer
11 12 license GPL-2+
12 13
13 14 description GUI client for openconnect VPN
14 15 long_description ${description}
15 16
16 17 depends_lib-append port:gnutls \
17 18 port:openconnect
18 19
19 20 depends_run port:vpnc-scripts
20 21
21 22 checksums rmd160 2ee0a3bf301b3c9af6bb3b7663875afea6f0a307 \
22 23 sha256 7377a5e3de6e5b0764723d66fbd0a1d8b380ddbb5b3862714197a4ba47ee8982
23 24
24 25 patchfiles patch-common_h.diff
25 26
26 -configure.cmd ${qt_qmake_cmd}
27 -configure.pre_args PREFIX="${prefix}"
28 -
29 27 post-patch {
30 28 reinplace -E "s|@PREFIX@|${prefix}|" ${worksrcpath}/common.h
31 29 }
32 30
33 31 destroot {
34 32 copy "${worksrcpath}/openconnect-gui.app" ${destroot}${applications_dir}
35 33 }
36 34
37 35 livecheck.url https://github.com/openconnect/openconnect-gui/releases
38 36 livecheck.regex v(\[0-9.\]+)${extract.suffix}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut