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
}

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to