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