[134231] trunk/dports/science/gr-mac/Portfile

michaelld at macports.org michaelld at macports.org
Fri Mar 20 07:46:38 PDT 2015


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

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

Modified: trunk/dports/science/gr-mac/Portfile
===================================================================
--- trunk/dports/science/gr-mac/Portfile	2015-03-20 14:45:20 UTC (rev 134230)
+++ trunk/dports/science/gr-mac/Portfile	2015-03-20 14:46:38 UTC (rev 134231)
@@ -40,11 +40,9 @@
 depends_build-append port:pkgconfig
 depends_lib-append	port:boost
 
-# 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
 
@@ -65,15 +63,6 @@
 configure.args-append \
     -DCMAKE_MODULES_DIR=${prefix}/share/cmake
 
-# 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
-
 # include examples in destroot
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/6089e75a/attachment.html>


More information about the macports-changes mailing list