source: trunk/dports/science/dineroIV/Portfile

Last change on this file was 122230, checked in by jmr@…, 3 years ago

dineroIV: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
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# $Id: Portfile 122230 2014-07-18 02:29:31Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            dineroIV
7version         7
8categories      science
9license         Restrictive Noncommercial
10maintainers     nomaintainer
11platforms       darwin
12description     cache simulator for memory reference traces
13long_description \
14                "Dinero IV is a cache simulator for memory reference traces. It \
15                includes the following major changes over Dinero III: \
16                subroutine-callable interface in addition to trace-reading \
17                program; \
18                simulation of multi-level caches; \
19                simulation of dissimilar I and D caches; \
20                better performance, especially for highly associative caches; \
21                classification of compulsory, capacity, and conflict misses; \
22                support for multiple input formats; \
23                cleaned up and modernized code, improved portability."
24
25homepage        http://pages.cs.wisc.edu/~markhill/DineroIV/
26master_sites    ftp://ftp.cs.wisc.edu/markhill/DineroIV
27
28distname        d4-${version}
29
30checksums           md5     69284e64ff7b4040fb898d93401606a8 \
31                    sha1    5d332f2b9f8251cd6ed6b4966e640f7001f99354 \
32                    rmd160  8b78d08e274cf0da7c434d53f87e0c0fe21589cb
33
34patchfiles      patch-misc_c.diff
35
36post-build      {
37    system "cd ${worksrcpath}/testing && ${build.cmd} ${build.pre_args} ${build.target}"
38}
39
40destroot {
41    xinstall -m 755 ${worksrcpath}/dineroIV ${destroot}${prefix}/bin
42
43    #destrooting docs
44    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
45    eval xinstall -m 644 [glob \
46            ${worksrcpath}/CHANGES \
47            ${worksrcpath}/NOTES \
48            ${worksrcpath}/COPYRIGHT \
49            ${worksrcpath}/README \
50            ${worksrcpath}/TODO \
51        ] ${destroot}${prefix}/share/doc/${name}
52
53    #destrooting examples from /testing
54    xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
55    #binaries
56    eval xinstall -m 755 [glob \
57        ${worksrcpath}/testing/p2? \
58        ${worksrcpath}/testing/testscript] ${destroot}${prefix}/share/examples/${name}
59    #readonly files
60    eval xinstall -m 644 [glob \
61            ${worksrcpath}/testing/README \
62            ${worksrcpath}/testing/p2.* \
63            ${worksrcpath}/testing/test-* \
64            ${worksrcpath}/testing/mm.* \
65        ] ${destroot}${prefix}/share/examples/${name}
66}
Note: See TracBrowser for help on using the repository browser.