1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name cputhrottle |
---|
6 | #can't find any designated version number, so we'll call it 1.0 |
---|
7 | version 1.0 |
---|
8 | categories sysutils |
---|
9 | maintainers nomaintainer |
---|
10 | description a tool to for throttling process cpu usage |
---|
11 | long_description Cputhrottle is a tool which allows cpu usage to be limited on a \ |
---|
12 | per-PID basis. |
---|
13 | homepage http://www.willnolan.com/cputhrottle/cputhrottle.html |
---|
14 | platforms darwin |
---|
15 | distname cputhrottle |
---|
16 | master_sites http://www.willnolan.com/cputhrottle/ |
---|
17 | checksums md5 21b8c53310111dabe4d6b58cc702deb6 \ |
---|
18 | sha1 e88c7264cb09399f2e4c54f9d10978ffbb99078b \ |
---|
19 | rmd160 4fc0e11712e6fd308c955d821091c9bd2188b720 |
---|
20 | depends_lib port:boost |
---|
21 | |
---|
22 | #patch the makefile so we can use it to install to destroot. |
---|
23 | patchfiles makefile.diff |
---|
24 | post-patch { |
---|
25 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/GNUmakefile |
---|
26 | } |
---|
27 | |
---|
28 | # no configuration script provided |
---|
29 | use_configure no |
---|
30 | variant universal {} |
---|
31 | |
---|
32 | build.args-append CXX="${configure.cxx} [get_canonical_archflags cxx]" |
---|
33 | |
---|