Ticket #69827: got0.99Portfile_withopensslvariantdefault

File got0.99Portfile_withopensslvariantdefault, 1.7 KB (added by artkiver (グレェ), 6 months ago)

got 0.99 Portfile which creates an OpenSSL variant and defaults to it, which should also please the GitHub Actions CI?

Line 
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
3PortSystem          1.0
4PortGroup           legacysupport 1.1
5
6name                got
7version             0.99
8revision            0
9distname            ${name}-portable-${version}
10categories          devel
11license             ISC
12maintainers         {@artkiver gmail.com:artkiver} openmaintainer
13description         Game of Trees (Got)
14long_description    Game of Trees is a version control system which \
15                    prioritizes ease of use and simplicity over flexibility. \
16                    Got uses Git repositories to store versioned data. \
17                    Git can be used for any functionality which has \
18                    not yet been implemented in Got. It will always be \
19                    possible to work with both Got and Git on the same \
20                    repository.
21homepage            https://gameoftrees.org/
22master_sites        ${homepage}releases/portable/
23checksums           rmd160 1cd4d50d1f6c74155fb7ab7bac500772a4d33a80 \
24                    sha256 aea408353a02b2e3ad9b4d1b7607900269af97986d40998c57f10acdf0fa1e38 \
25                    size 1481387
26depends_lib         path:lib/libssl.dylib:openssl \
27                    port:ncurses \
28                    port:ossp-uuid \
29                    port:libevent
30depends_build       port:bison \
31                    port:pkgconfig
32
33variant openssl description {use OpenSSL} {
34    depends_lib-append  port:libretls
35}
36
37default_variants +openssl
38
39livecheck.type      regex
40livecheck.url       https://gameoftrees.org/
41livecheck.regex     "Game of Trees -portable (\\d+\\.\\d+)"
42configure.checks.implicit_function_declaration.whitelist-append strchr