compile additional files after build

Bradley Giesbrecht brad at pixilla.com
Wed Nov 10 17:32:27 PST 2010


After build I need to:

cd ${worksrcpat}/driver
/usr/bin/gcc blah blah

I'm currently doing:

post-build {
   system "cd ${worksrcpath}/driver"
   system "CC=/usr/bin/gcc \$CC -bundle ...."
}


Is there a better way?

Does anyone have an example port that does something similar for me to  
look at?


// Brad


More information about the macports-dev mailing list