Re: On the heels of the memtester port

2009-07-15 Thread Jeremy Lavergne
On Jul 15, 2009, at 2:38 PM, Scott Haneda wrote: Can someone summarize why some sources are so simple to make a portfile for, and others require reinplacing the Makefile to alter it just enough to conform how MacPorts will need it to be? 99% of the time, --prefix works fine, why would

Re: On the heels of the memtester port

2009-07-15 Thread Jeremy Lavergne
On Jul 15, 2009, at 2:46 PM, Jeremy Lavergne wrote: If you're going to install these outside of MacPorts, I'd suggest / usr/local/bin ... for the binaries. basically, you'd mimic macports in that $ {prefix} would be `/usr/local` smime.p7s Description: S/MIME cryptographic signature

Re: On the heels of the memtester port

2009-07-15 Thread Scott Haneda
On Jul 15, 2009, at 11:48 AM, Jeremy Lavergne wrote: On Jul 15, 2009, at 2:46 PM, Jeremy Lavergne wrote: If you're going to install these outside of MacPorts, I'd suggest / usr/local/bin ... for the binaries. basically, you'd mimic macports in that $ {prefix} would be `/usr/local`

Re: On the heels of the memtester port

2009-07-15 Thread Jeremy Lavergne
On Jul 15, 2009, at 2:58 PM, Scott Haneda wrote: sudo port -d dmg memtester ... Is there a way on the command above to alter prefix for the one time build to /usr/local/bin and is there a way to also alter it to be able to put the man page in the correct place? Or do I just create a

Re: On the heels of the memtester port

2009-07-15 Thread Joshua Root
On 2009-7-16 04:46, Jeremy Lavergne wrote: Unless specifically deactivated, all ports have a +universal variant. Not actually true. Setting 'use_configure no' or 'use_xmkmf yes' will disable the default universal variant, because it depends on there being an autoconf-like configure script. -

Re: memtester port

2009-07-15 Thread Ryan Schmidt
On Jul 14, 2009, at 18:28, Scott Haneda wrote: livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)${extract.suffix} On Jul 14, 2009, at 20:46, Jeremy Lavergne wrote: On Jul 14, 2009, at 7:28 PM, Scott Haneda wrote: Here is my final port, my areas of concern are the livecheck regex. That

memtester port

2009-07-14 Thread Scott Haneda
I am not seeing a port for memtester. $cd ~/Downloads/memtester-4.0.8 $sudo make $file memtester memtester: Mach-O executable i386 $./memtester 100 3 -L memtester version 4.0.8 (32-bit) Copyright (C) 2007 Charles Cazabon. Licensed under the GNU General Public

Re: memtester port

2009-07-14 Thread Jeremy Lavergne
On Jul 14, 2009, at 3:01 PM, Scott Haneda wrote: I am not seeing a port for memtester. # $Id$ PortSystem 1.0 namememtester version 4.0.8 categories sysutils maintainers hostwizard.com:scott description A userspace utility for testing

Re: memtester port

2009-07-14 Thread Scott Haneda
Where am I getting tripped up on this one? You need to add `use_configure no` Ok, done http://dl.getdropbox.com/u/340087/Drops/07.14.09/memtest-4460164b-123912.txt Looks like this was called from the makefile: mkdir -m 755 -p /usr/local/{bin,man/man8} install -m 755 memtester /usr/local/bin/

Re: memtester port

2009-07-14 Thread Jeremy Lavergne
Ooo! you use dropbox! /drool On Jul 14, 2009, at 3:43 PM, Scott Haneda wrote: http://dl.getdropbox.com/u/340087/Drops/07.14.09/memtest-4460164b-123912.txt smime.p7s Description: S/MIME cryptographic signature ___ macports-dev mailing list

Re: memtester port

2009-07-14 Thread Jeremy Lavergne
On Jul 14, 2009, at 3:43 PM, Scott Haneda wrote: My plan was to infact xinstal the files, but I am open to learning how to patch the makefile. In this one, do I need to just reinplace INSTALLPATH = /usr/local Here is the makefile

Re: memtester port

2009-07-14 Thread Scott Haneda
On Jul 14, 2009, at 12:44 PM, Jeremy Lavergne wrote: Ooo! you use dropbox! /drool On Jul 14, 2009, at 3:43 PM, Scott Haneda wrote: http://dl.getdropbox.com/u/340087/Drops/07.14.09/memtest-4460164b-123912.txt ha ha :) If you want to try out a small little app I made, allows you to drop

Re: memtester port

2009-07-14 Thread Scott Haneda
On Jul 14, 2009, at 12:46 PM, Jeremy Lavergne wrote: On Jul 14, 2009, at 3:43 PM, Scott Haneda wrote: My plan was to infact xinstal the files, but I am open to learning how to patch the makefile. In this one, do I need to just reinplace INSTALLPATH = /usr/local Here is the makefile

Re: memtester port

2009-07-14 Thread Jeremy Lavergne
You just tell it what phase you want it to do, and then it'll stop after it. `sudo port patch memtester` fetch - extract - patch - configure - build - test? - destroot - install - activate It's on the Guide if you need a precise listing. On Jul 14, 2009, at 3:58 PM, Scott Haneda wrote:

Re: memtester port

2009-07-14 Thread Jeremy Lavergne
There's also -k (keep mode) which should counteract the default to autoclean. On Jul 14, 2009, at 3:58 PM, Scott Haneda wrote: Ok, working on it. How do you test this as you go, and tell ports to not clean up the files, so I can see if the reinplaces worked to my liking? smime.p7s

Re: memtester port

2009-07-14 Thread Scott Haneda
On Jul 14, 2009, at 12:46 PM, Jeremy Lavergne wrote: On Jul 14, 2009, at 3:43 PM, Scott Haneda wrote: My plan was to infact xinstal the files, but I am open to learning how to patch the makefile. In this one, do I need to just reinplace INSTALLPATH = /usr/local Here is the makefile

Re: memtester port

2009-07-14 Thread Jeremy Lavergne
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

Re: memtester port

2009-07-14 Thread Scott Haneda
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

Re: memtester port

2009-07-14 Thread Scott Haneda
Any other suggestions before I ship it off to trac? Does it pass `port lint --nitpick memtester`? Thanks for the regex explanation, I was so hung up on that quoting issue and escapes. Handy command on the nitpick $port lint --nitpick memtester --- Verifying Portfile for memtester ---

Re: memtester port

2009-07-14 Thread Scott Haneda
On Jul 14, 2009, at 7:36 PM, Jeremy Lavergne wrote: Alrighty, create a port submission ticket and you're good to go. On Jul 14, 2009, at 10:01 PM, Scott Haneda wrote: I had a few newline issues, but I am all set now. http://trac.macports.org/ticket/20306 -- Scott * If you contact me off