#16051: ardour2: new port ---------------------------------+------------------------------------------ Reporter: db.evans@gmail.com | Owner: ryandesign@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ardour ---------------------------------+------------------------------------------ Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: Rather than clearing the build phase, the correct way seems to be to set `build.cmd` to "`scons`", clear the `build.target`, and set the `build.args` as desired. MacPorts takes care of setting `destroot.cmd` to the same thing as `build.cmd`, setting `destroot.target` to "`install`" and setting `destroot.destdir` to "`DESTDIR=${destroot}`". {{{ build.cmd scons build.target build.args PREFIX=${prefix} VST=0 AUBIO=1 FREESOUND=1 LV2=1 }}} This change also means that parallel building will work now, since I enabled parallel building for scons-based ports in MacPorts base in r38556. This helps a lot since ardour takes a long time to compile. So I added "`use_parallel_build yes`" to the portfile, and reindented the column to 24 characters so things line up again. The one remaining oddity is that it looks like the gettext message catalogs get built only during the destroot phase. Not sure why. But I'm not too concerned since it takes very little time to build the message catalogs, compared with how much time it takes to build the rest of ardour. So the port is now added in r38560. Thanks for the contribution! And I hope you'll forgive my interfering in your port here. -- Ticket URL: <http://trac.macports.org/ticket/16051#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS