diff --git devel/olm/Portfile devel/olm/Portfile
index 08b21d7547f..cc51147c09c 100644
|
|
|
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 | | PortGroup cxx11 1.1 |
| 4 | PortGroup cmake 1.0 |
5 | 5 | |
6 | 6 | name olm |
7 | | version 2.3.0 |
| 7 | version 3.1.4 |
8 | 8 | categories devel security |
9 | 9 | platforms darwin |
10 | 10 | maintainers {@scarface-one disroot.org:scarface} openmaintainer |
… |
… |
long_description An implementation of the Double Ratchet cryptographic ratche |
16 | 16 | license Apache-2 |
17 | 17 | homepage http://git.matrix.org/git/olm/about/ |
18 | 18 | |
19 | | master_sites http://git.matrix.org/git/olm/snapshot |
| 19 | master_sites https://gitlab.matrix.org/matrix-org/olm/-/archive/${version}/ |
20 | 20 | |
21 | | checksums rmd160 f848e0fe13866943c0af07a2cbbfc16aee6de229 \ |
22 | | sha256 533714fb84860e04c185790d16ef9085f15e902c2105db941d5c7e92b0565ef8 \ |
23 | | size 480801 |
| 21 | checksums rmd160 04922bc2e9571698cbfb6c8f11be33e764e46dcf \ |
| 22 | sha256 1ca9926ce71d778fb7352d1ee77513194db8c7f49c0d69d38ac49ec3bafcea38 \ |
| 23 | size 521495 |
24 | 24 | |
25 | | use_configure no |
| 25 | compiler.cxx_standard 2011 |
26 | 26 | |
27 | | build.target static |
| 27 | test.run yes |
| 28 | test.dir ${build.dir}/tests |
| 29 | test.cmd ctest |
28 | 30 | |
29 | | destroot { |
30 | | copy ${worksrcpath}/build/libolm.a ${destroot}${prefix}/lib/libolm.a |
31 | | copy ${worksrcpath}/include/olm ${destroot}${prefix}/include |
32 | | } |
| 31 | # changing this allows the tests to run, but does not change the install_name of the library |
| 32 | configure.args-replace -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_BUILD_WITH_INSTALL_RPATH=OFF |
| 33 | No newline at end of file |