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 | revision 0 |
---|
9 | categories sysutils |
---|
10 | maintainers none |
---|
11 | description a tool to for throttling process cpu usage |
---|
12 | long_description Cputhrottle is a tool which allows cpu usage to be limited on a \ |
---|
13 | per-PID basis. |
---|
14 | homepage http://www.willnolan.com/cputhrottle/cputhrottle.html |
---|
15 | platforms darwin |
---|
16 | distfiles cputhrottle.tar.gz |
---|
17 | master_sites http://www.willnolan.com/cputhrottle/ |
---|
18 | distname cputhrottle |
---|
19 | worksrcdir ${distname} |
---|
20 | checksums md5 21b8c53310111dabe4d6b58cc702deb6 \ |
---|
21 | sha1 e88c7264cb09399f2e4c54f9d10978ffbb99078b \ |
---|
22 | rmd160 4fc0e11712e6fd308c955d821091c9bd2188b720 |
---|
23 | depends_lib port:boost |
---|
24 | |
---|
25 | #patch the makefile so we can use it to install to destroot. |
---|
26 | patchfiles makefile.diff |
---|
27 | post-patch { |
---|
28 | reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/GNUmakefile |
---|
29 | } |
---|
30 | |
---|
31 | # no configuration script provided |
---|
32 | use_configure no |
---|