Re: Customizing an install

Frank McPherson <[email protected]> Mon, 4 Sep 2006 09:21:39 -0400
Newsgroups gmane.os.opendarwin.darwinports
Message-ID <[email protected]>
Adam,

You can use 'port extract amphetamine' to extract the distribution  
files for the port. Then, 'port dir amphetamine' to find out where  
it's located on your file system. Go in there and change the files  
you want. Then you can either 'port install amphetamine' and I think  
it'll use the working copy of the source you just changed. Or, you  
can use the other developer targets for port for finer-grained  
control over the process: port configure, port build, port archive,  
port activate, whatever. 'man port' lists all the targets for port,  
but doesn't have very good examples in that section, so I had to  
apply a bit of trial and error to do this type of thing.

Frank


On Sep 3, 2006, at 4:32 PM, Adam Price wrote:

>
> This is a very rudimentary question, but so is my understanding of  
> how this building process works.
>
> I wish to change a few parameters for a game (amphetamine)  I found  
> the file in the source that holds the paramters, and I know what I  
> want to change them to, but I can't figure out how to change them  
> and rebuild.
>
> When port builds something, it always uses the bz2 file, right?   
> How do I tell it I want to specify a different source for one file?
>
> Or, how do I use the portfile to build independently of the port  
> command.
>
> Or, how do  I do this in a more sensible way than I can come up with?
>
>
> _______________________________________________
> Darwinports mailing list
> [email protected]
> http://www.opendarwin.org/mailman/listinfo/darwinports