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