[134225] trunk/dports/graphics/glfw/Portfile
michaelld at macports.org
michaelld at macports.org
Fri Mar 20 07:42:34 PDT 2015
Revision: 134225
https://trac.macports.org/changeset/134225
Author: michaelld at macports.org
Date: 2015-03-20 07:42:34 -0700 (Fri, 20 Mar 2015)
Log Message:
-----------
glfw:
+ update to 29b40112 (20150319);
+ use new cmake 1.0 PortGroup features, including cmake.out_of_source (ticket #47197).
Modified Paths:
--------------
trunk/dports/graphics/glfw/Portfile
Modified: trunk/dports/graphics/glfw/Portfile
===================================================================
--- trunk/dports/graphics/glfw/Portfile 2015-03-20 14:41:11 UTC (rev 134224)
+++ trunk/dports/graphics/glfw/Portfile 2015-03-20 14:42:34 UTC (rev 134225)
@@ -5,10 +5,10 @@
PortGroup cmake 1.0
PortGroup github 1.0
-github.setup glfw glfw 3d204b1afd0f5a5a9572eb22eceed0c60bcef577
-version 20150317
-checksums rmd160 0e2039615d1bdc03a8858d09aa06b97e6bd0dc13 \
- sha256 194a3d6858798ae5766a253a29b40cd2fa7a3a02e6981212b0985bfdd9a8d2c6
+github.setup glfw glfw 29b40112c234c3021648ea42a5e74cc122ba08b4
+version 20150319
+checksums rmd160 eafdc7810f8505d884b998e9d6a2d9eb3a95a2da \
+ sha256 c7038ad9b5882f7882cb595dea5b6caf68f1fd3ad1c93366c4a4cfb84b3356df
categories graphics
maintainers michaelld openmaintainer
@@ -23,12 +23,9 @@
homepage http://www.glfw.org/
-# 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
# configuration arguments for MacPorts build
@@ -41,15 +38,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
-
variant docs description {build documentation} {}
default_variants +docs
@@ -72,6 +60,6 @@
if {[variant_isset docs]} {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
- copy ${vpath}/docs/html ${destroot}${prefix}/share/doc/${name}
+ copy ${cmake.build_dir}/docs/html ${destroot}${prefix}/share/doc/${name}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150320/aa46aa89/attachment.html>
More information about the macports-changes
mailing list