[134233] trunk/dports/science/gr-fosphor/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Mar 20 07:48:23 PDT 2015
Revision: 134233
https://trac.macports.org/changeset/134233
Author: michaelld at macports.org
Date: 2015-03-20 07:48:23 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
gr-fosphor: use new cmake 1.0 PortGroup features, including cmake.out_of_source (ticket #47197).
Modified Paths:
--------------
trunk/dports/science/gr-fosphor/Portfile
Modified: trunk/dports/science/gr-fosphor/Portfile
===================================================================
--- trunk/dports/science/gr-fosphor/Portfile 2015-03-20 14:47:03 UTC (rev 134232)
+++ trunk/dports/science/gr-fosphor/Portfile 2015-03-20 14:48:23 UTC (rev 134233)
@@ -38,27 +38,15 @@
depends_build-append \
port:doxygen
-# do VPATH build
+# do VPATH (out of source tree) build
-set vpath ${workpath}/build
-pre-configure { file mkdir ${vpath} }
-configure.dir ${vpath}
-build.dir ${vpath}
+cmake.out_of_source yes
-# set last configure argument to the reletive path
-# to the top-level cmake source
-
-configure.post_args ../${worksrcdir}
-
# remove top-level library path, such that internal libraries are used
# instead of any already-installed ones.
configure.ldflags-delete -L${prefix}/lib
-# 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/673999e6/attachment.html>
More information about the macports-changes
mailing list