[74442] trunk/dports/_resources/port1.0/group/kde4-1.1.tcl
Revision: 74442 http://trac.macports.org/changeset/74442 Author: jmr@macports.org Date: 2010-12-17 04:54:17 -0800 (Fri, 17 Dec 2010) Log Message: ----------- kde4 portgroup: simplify out-of-tree build dir stuff Modified Paths: -------------- trunk/dports/_resources/port1.0/group/kde4-1.1.tcl Modified: trunk/dports/_resources/port1.0/group/kde4-1.1.tcl =================================================================== --- trunk/dports/_resources/port1.0/group/kde4-1.1.tcl 2010-12-17 12:48:51 UTC (rev 74441) +++ trunk/dports/_resources/port1.0/group/kde4-1.1.tcl 2010-12-17 12:54:17 UTC (rev 74442) @@ -42,26 +42,14 @@ configure.ldflags-delete -L${prefix}/lib configure.cppflags-delete -I${prefix}/include -# build in a separate directory; have to put these into phases because -# ${distname} and ${workpath} are not necessarily defined at the -# top-level while they are guaranteed to be by the pre-fetch phase. - # setup all KDE4 ports to build in a separate directory from the source; # this setting must be the full directory path post-extract { file mkdir ${workpath}/build } -# Have to set for configure, build, and destroot phases only. -pre-configure { - # standard post-arg, where to find the primary CMakeLists.txt file. - configure.post_args ../${distname} - configure.dir ${workpath}/build -} -pre-build { - build.dir ${workpath}/build -} -pre-destroot { - build.dir ${workpath}/build -} +# standard post-arg, where to find the primary CMakeLists.txt file. +default configure.post_args {../${distname}} +default configure.dir {${workpath}/build} +default build.dir {${workpath}/build} # Automoc added as build dependency here as most, if not all kde # programs currently need it. The automoc port, which includes this
participants (1)
-
jmr@macports.org