memtester port
Scott Haneda
talklists at newgeo.com
Tue Jul 14 16:28:58 PDT 2009
On Jul 14, 2009, at 1:21 PM, Jeremy Lavergne wrote:
> long_description is needed, but you can set it to ${description}
>
> I need to head out for a few hours ... someone else care to continue
> helping? :-)
I think I got it, cool thing is, now people do not have to pay the
whopping $1.39 to buy this app :)
Here is my final port, my areas of concern are the livecheck regex.
That is a copy and paste from elsewhere, and I can not break it out.
You have to escape regex inside livecheck?
So d+ is all numbers, that ?: is a mystery to me, and then a dot, and
then a digit, and then aything. I have three distinct version digits,
so there may be some altering that needs to happen here. Perhaps the
* means, match the pattern of digit and dot as many times as it happens?
Any other suggestions before I ship it off to trac?
PortSystem 1.0
name memtester
version 4.0.8
categories sysutils
maintainers hostwizard.com:scott
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 md5 a4971ed1ccaf5b2e2148fd66b0eb7363 \
sha1 1330edaa60e0d797b83df51a56bba377db9223fc \
rmd160 b804eb9563f98ffbd51ce17c091b71a466ba4eae
livecheck.url ${homepage}/old-versions/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
use_configure no
pre-patch {
reinplace "s|/usr/local|${destroot}${prefix}|" ${worksrcpath}/
Makefile
reinplace "s|man/man|share/man/man|" ${worksrcpath}/Makefile
}
--
Scott * If you contact me off list replace talklists@ with scott@ *
More information about the macports-dev
mailing list