Example of a port with a custom build { } script

Ian Grant ian.grant at cl.cam.ac.uk
Thu Nov 27 09:05:40 PST 2008


Hi All

I am trying to build a port which has a more complicated build  
procedure than just 'make xxx' I have to first build and install the  
main package and then go back into several subdirectories of the build  
directory and build and install plugins.

Can anyone point me to an example port which does something like this?  
I guess I need to add a  post-destroot { } section to do this. But how  
to change the working directory and run the make. Do I just use the  
tcl 'cd' and 'exec' commands, or is there some sophisticated error  
handling that I need to do?

Just being able to read the default build { } script would be a good  
start. Where is that kept?

Ian


More information about the macports-dev mailing list