Commits

Chih-Hsuan Yen authored 4aa6b3665b7
syncthingtray and deps: add stable ports
No tags

devel/cpp-utilities/Portfile

Added
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 +
3 +PortSystem 1.0
4 +PortGroup cmake 1.1
5 +PortGroup github 1.0
6 +PortGroup cxx11 1.1
7 +PortGroup compiler_blacklist_versions 1.0
8 +
9 +name cpp-utilities
10 +
11 +subport cpp-utilities-devel {}
12 +
13 +categories devel
14 +maintainers {yan12125 @yan12125} openmaintainer
15 +license GPL-2
16 +description Useful C++ classes and routines such as argument parser, IO and conversion utilities.
17 +long_description ${description}
18 +platforms darwin
19 +
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
40 +
41 +# requires a compiler that supports C++17
42 +compiler.blacklist-append {clang < 900.0.39} macports-clang-3.*
43 +
44 +configure.args-append \
45 + -DUSE_STANDARD_FILESYSTEM=OFF

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

Add shortcut