[134239] trunk/dports/science/gr-baz/Portfile

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


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

Modified Paths:
--------------
    trunk/dports/science/gr-baz/Portfile

Modified: trunk/dports/science/gr-baz/Portfile
===================================================================
--- trunk/dports/science/gr-baz/Portfile	2015-03-20 14:49:49 UTC (rev 134238)
+++ trunk/dports/science/gr-baz/Portfile	2015-03-20 14:50:04 UTC (rev 134239)
@@ -69,26 +69,15 @@
                     port:doxygen \
                     port:swig
 
-# 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
 
 # remove top-level library path, such that internal libraries are used
 # instead of any already-installed ones.
 
 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/1738f9c6/attachment.html>


More information about the macports-changes mailing list