Ticket #35295: Portfile.2

File Portfile.2, 1.1 KB (added by icaines77@…, 12 years ago)

Revised port file.

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