memtester port

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Jul 14 13:21:52 PDT 2009


On Jul 14, 2009, at 4:14 PM, Scott Haneda wrote:

> Is this an issue wrt to the mkdir?  Should I change that as well?

You wouldn't make it past your pre-patch if that were the case. It  
would error out saying it couldn't find the file.

> install: all
> 	mkdir -m 755 -p $(INSTALLPATH)/{bin,man/man8}
> 	install -m 755 memtester $(INSTALLPATH)/bin/
> 	gzip -c memtester.8 >memtester.8.gz ; install -m 644 memtester.8.gz  
> $(INSTALLPATH)/man/man8/
>
> Is the way I am doing ${master_sites} correct?  Is it acceptable to  
> leave out the long description, I think the short is more than  
> enough.  Is my category correct in sysutils?

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? :-)

>
> # $Id$
> PortSystem 1.0
>
> name			memtester
> version			4.0.8
> categories		sysutils
> maintainers		hostwizard.com:scott
> description		A userspace utility for testing the memory subsystem  
> for faults.
> long_description	A userspace utility for testing the memory  
> subsystem for faults.
>
> homepage		http://pyropus.ca/software/memtester/
> master_sites		${homepage}/old-versions
> checksums           md5     a4971ed1ccaf5b2e2148fd66b0eb7363 \
>                    sha1    1330edaa60e0d797b83df51a56bba377db9223fc \
>                    rmd160  b804eb9563f98ffbd51ce17c091b71a466ba4eae
>
> use_configure       no
>
> pre-patch {
>     reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/Makefile
>     reinplace "s|/man/man8/|/share/man/man8|" ${worksrcpath}/Makefile
> }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090714/07da1d27/attachment.bin>


More information about the macports-dev mailing list