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 github 1.0 |
---|
5 | |
---|
6 | github.setup opsengine cpulimit 0.2 v |
---|
7 | |
---|
8 | categories sysutils |
---|
9 | platforms darwin |
---|
10 | maintainers {kencu @kencu} openmaintainer |
---|
11 | license GPL-2 |
---|
12 | |
---|
13 | description tool which limits the CPU usage of a process |
---|
14 | long_description ${description} |
---|
15 | |
---|
16 | checksums rmd160 87db83eb896531910c9d489b03e04edd75ecf090 \ |
---|
17 | sha256 44e21f371b59103710ec0bfa1fb820eebaafd1a1da2a5ff930f7bed2d9964394 \ |
---|
18 | size 14295 |
---|
19 | |
---|
20 | use_configure no |
---|
21 | patchfiles patch-ifdefs.diff |
---|
22 | variant universal {} |
---|
23 | |
---|
24 | build.env CXX="${configure.cxx}" \ |
---|
25 | CXXFLAGS="${configure.cxxflags} [get_canonical_archflags cxx]" \ |
---|
26 | CC="${configure.cc}" \ |
---|
27 | CFLAGS="${configure.cflags}" \ |
---|
28 | LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]" \ |
---|
29 | PREFIX=${prefix} |
---|
30 | |
---|
31 | destroot { |
---|
32 | copy ${worksrcpath}/src/cpulimit ${destroot}${prefix}/bin |
---|
33 | } |
---|