source: trunk/dports/benchmarks/nbench-byte/Portfile

Last change on this file was 134318, checked in by ionic@…, 2 years ago

Mass-update: add modeline where appropriate, change binary install permissions to 755. Fixes: #47229.

Affects:

mp3_check
iozone
nbench-byte
cvsdiff2patch
cursive
geekcode
ski
vms-empire
wtf
thirdeye
jikespg
aget
ddclient
ipsvd
mudix
nsping
rabbitmq-server
tcptrace
tnftpd
ksh93
buffer
dtach
keychain
chmdump
rfcdiff
webredirect
abclock

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.0 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 134318 2015-03-22 06:42:51Z ryandesign@macports.org $
3
4PortSystem       1.0
5
6name             nbench-byte
7version          2.2.3
8revision         1
9categories       benchmarks
10maintainers      nomaintainer
11description      Linux/Unix port of BYTEmark
12long_description \
13    nbench is a port of the BYTEmark benchmark program. These \
14    are Native Mode (a.k.a. Algorithm Level) tests\; benchmarks \
15    designed to expose the capabilities of a system's CPU, FPU, \
16    and memory system.
17homepage         http://www.tux.org/~mayer/linux/bmark.html
18platforms        darwin
19master_sites     ftp://ftp.tux.org/pub/tux/mayer/ \
20                 http://www.tux.org/~mayer/linux/
21checksums        md5 285dfab361080759d477ea1fe7d3093a \
22                 sha1 f2a03c56dc2bf26e478c2a1828debcafd83983ef
23patchfiles       patch-Makefile.diff
24use_configure    no
25use_parallel_build no
26build.target
27build.args       CC=${configure.cc}
28
29destroot {
30    xinstall -m 755 ${worksrcpath}/nbench ${destroot}${prefix}/bin
31    file mkdir ${destroot}${prefix}/share/nbench
32    xinstall -m 444 ${worksrcpath}/NNET.DAT ${destroot}${prefix}/share/nbench
33    xinstall -m 444 ${worksrcpath}/README ${destroot}${prefix}/share/nbench
34    xinstall -m 444 ${worksrcpath}/README.motorola ${destroot}${prefix}/share/nbench
35    xinstall -m 444 ${worksrcpath}/README.nonlinux ${destroot}${prefix}/share/nbench
36    xinstall -m 444 ${worksrcpath}/README.submit ${destroot}${prefix}/share/nbench
37    xinstall -m 444 ${worksrcpath}/RESULTS ${destroot}${prefix}/share/nbench
38    xinstall -m 444 ${worksrcpath}/bdoc.txt ${destroot}${prefix}/share/nbench
39}
40post-install {
41    ui_msg ""
42    ui_msg "One of the benchmarks (neural network) requires the file"
43    ui_msg "${prefix}/share/nbench/NNET.DAT to be in the same directory"
44    ui_msg "that you start nbench from."
45}
46
47if {${build_arch} ne ""} {
48    build.env-append CFLAGS="${configure.cc_archflags}"
49}
50
51livecheck.type  regex
52livecheck.regex {nbench-byte-([0-9.]+)\.tar\.gz}
Note: See TracBrowser for help on using the repository browser.