source: trunk/dports/sysutils/memtester/Portfile @ 84550

Last change on this file since 84550 was 84550, checked in by snc@…, 8 years ago

modelines

  • 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 84550 2011-09-27 21:05:11Z snc@macports.org $
3
4PortSystem          1.0
5
6name                memtester
7version             4.2.1
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           sha1    a8e85d3ef33ca3965eb64550ff44fd485181def1 \
19                    rmd160  e8f1f9fa0ffe4f48fe6f1aa7e6544d2c1087c635
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.