[134241] trunk/dports/science/gr-air-modes/Portfile

michaelld at macports.org michaelld at macports.org
Fri Mar 20 07:50:39 PDT 2015


Revision: 134241
          https://trac.macports.org/changeset/134241
Author:   michaelld at macports.org
Date:     2015-03-20 07:50:39 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
gr-air-modes: use new cmake 1.0 PortGroup features, including cmake.out_of_source (ticket #47197).

Modified Paths:
--------------
    trunk/dports/science/gr-air-modes/Portfile

Modified: trunk/dports/science/gr-air-modes/Portfile
===================================================================
--- trunk/dports/science/gr-air-modes/Portfile	2015-03-20 14:50:19 UTC (rev 134240)
+++ trunk/dports/science/gr-air-modes/Portfile	2015-03-20 14:50:39 UTC (rev 134241)
@@ -50,11 +50,9 @@
 
 depends_lib-append  port:qwt52
 
-# do VPATH build
+# do VPATH (out of source tree) build
 
-post-extract        { file mkdir ${workpath}/build }
-configure.dir       ${workpath}/build
-build.dir           ${workpath}/build
+cmake.out_of_source yes
 
 # temporary patch to fix CMake stuff on OSX
 
@@ -73,15 +71,6 @@
 
 configure.ldflags-delete -L${prefix}/lib
 
-# set last configure argument to the reletive path
-# to the top-level cmake source
-
-configure.post_args ../${worksrcdir}
-
-# be verbose when building, for debugging purposes
-
-build.post_args VERBOSE=1
-
 # set Python legacy variants; these can be removed 2016-01-01
 
 variant python26 description {Legacy variant} {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/db933e25/attachment.html>


More information about the macports-changes mailing list