#24318: assign variable value in variant -------------------------------------------+-------------------------------- Reporter: mattiafrancescomoro@… | Owner: markd@… Type: request | Status: new Priority: Normal | Milestone: Component: guide | Version: 1.8.2 Keywords: | Port: -------------------------------------------+-------------------------------- Please add a guide wich explain how i can add in a variant box a code execution ie: {{{ variant python description {Builds port with python support} { pythonincdir=`python-config --includes | sed -e 's/-I//' | awk '{print \$1}'` configure.args-delete --disable-python` configure.args-append --enable-python \ --with-python-incdir=pythonincdir \ --with-python- libdir="${prefix}/lib" } }}} Thank you! -- Ticket URL: <http://trac.macports.org/ticket/24318> MacPorts <http://www.macports.org/> Ports system for Mac OS