source: trunk/dports/sysutils/memtester/Portfile

Last change on this file was 94223, checked in by pixilla@…, 5 years ago

sysutils/memtester:

  • Update to version 4.3.0.
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 94223 2012-06-12 23:10:50Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                memtester
7version             4.3.0
8categories          sysutils
9maintainers         pixilla
10platforms           darwin
11description         A userspace utility for testing the memory subsystem for \
12                    faults.
13long_description    ${description}
14
15homepage            http://pyropus.ca/software/memtester/
16master_sites        ${homepage}/old-versions
17
18checksums           rmd160  0fd3148d76f65516601e4d656dc239a164a190a8 \
19                    sha256  f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
20
21livecheck.url       ${homepage}/old-versions/
22livecheck.regex     "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
23
24use_configure       no
25
26variant universal {}
27
28pre-patch {
29        if {[variant_isset universal]} {
30                set archflags ${configure.universal_cflags}
31        } else {
32                set archflags ${configure.cc_archflags}
33        }
34        reinplace "s|/usr/local|${destroot}${prefix}|" ${worksrcpath}/Makefile
35        reinplace "s|man/man|share/man/man|" ${worksrcpath}/Makefile
36        reinplace "s|^cc|${configure.cc} ${archflags}|g" ${worksrcpath}/conf-cc ${worksrcpath}/conf-ld
37}
Note: See TracBrowser for help on using the repository browser.