Commits
Chih-Hsuan Yen authored 98030cd5525
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 cmake 1.1 |
5 5 | PortGroup github 1.0 |
6 6 | PortGroup cxx11 1.1 |
7 7 | PortGroup compiler_blacklist_versions 1.0 |
8 8 | |
9 - | name cpp-utilities |
10 - | |
11 - | subport cpp-utilities-devel {} |
12 - | |
9 + | github.setup Martchus cpp-utilities 5.0.1 v |
10 + | github.tarball_from archive |
11 + | revision 0 |
13 12 | categories devel |
14 13 | maintainers {yan12125 @yan12125} openmaintainer |
15 14 | license GPL-2 |
16 15 | description Useful C++ classes and routines such as argument parser, IO and conversion utilities. |
17 16 | long_description ${description} |
18 17 | platforms darwin |
19 18 | |
20 - | if {${subport} eq ${name}} { |
21 - | # stable |
22 - | github.setup Martchus cpp-utilities 5.0.0 v |
23 - | revision 0 |
24 - | checksums rmd160 fc285f6821f995f4ab56fe34aab520fce872833d \ |
25 - | sha256 3fda34ea7794a67b0fd454e39827d7733eb76dde0443b6f9b3fd0c41116ffdca \ |
26 - | size 151785 |
27 - | conflicts ${name}-devel |
28 - | } else { |
29 - | # devel |
30 - | github.setup Martchus cpp-utilities 6282abca415c50de8d43612b84a12fb6bd8d6fdd |
31 - | version 20190824 |
32 - | revision 0 |
33 - | checksums rmd160 be68c5756771ffd8f176ea7fcb29375f39abe418 \ |
34 - | sha256 028b6cff6eec5f2352266c25e48e51e7ccc6ceff5f62a27af327217d9febc48c \ |
35 - | size 151883 |
36 - | conflicts ${name} |
37 - | } |
38 - | |
39 - | github.tarball_from archive |
19 + | checksums rmd160 f8292f6db9506919cfd45cb131b12b51c480b598 \ |
20 + | sha256 1e10abf567930614178f3c8674d16ae6711758cf61b8e6fdd2fbbe5629cf6ebf \ |
21 + | size 151236 |
40 22 | |
41 23 | # requires a compiler that supports C++17 |
42 24 | compiler.blacklist-append {clang < 900.0.39} macports-clang-3.* |
43 25 | |
44 26 | configure.args-append \ |
45 27 | -DUSE_STANDARD_FILESYSTEM=OFF |