# -*- 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 # $Id: Portfile 94223 2012-06-12 23:10:50Z pixilla@macports.org $ PortSystem 1.0 name memtester version 4.3.0 categories sysutils maintainers pixilla platforms darwin description A userspace utility for testing the memory subsystem for \ faults. long_description ${description} homepage http://pyropus.ca/software/memtester/ master_sites ${homepage}/old-versions checksums rmd160 0fd3148d76f65516601e4d656dc239a164a190a8 \ sha256 f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88 livecheck.url ${homepage}/old-versions/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}" use_configure no variant universal {} pre-patch { if {[variant_isset universal]} { set archflags ${configure.universal_cflags} } else { set archflags ${configure.cc_archflags} } reinplace "s|/usr/local|${destroot}${prefix}|" ${worksrcpath}/Makefile reinplace "s|man/man|share/man/man|" ${worksrcpath}/Makefile reinplace "s|^cc|${configure.cc} ${archflags}|g" ${worksrcpath}/conf-cc ${worksrcpath}/conf-ld }