[72579] trunk/dports/devel/cmake/Portfile

michaelld at macports.org michaelld at macports.org
Thu Oct 21 05:23:32 PDT 2010


Revision: 72579
          http://trac.macports.org/changeset/72579
Author:   michaelld at macports.org
Date:     2010-10-21 05:23:29 -0700 (Thu, 21 Oct 2010)
Log Message:
-----------
Changes to use qt4 portgroup.

Modified Paths:
--------------
    trunk/dports/devel/cmake/Portfile

Modified: trunk/dports/devel/cmake/Portfile
===================================================================
--- trunk/dports/devel/cmake/Portfile	2010-10-21 12:23:05 UTC (rev 72578)
+++ trunk/dports/devel/cmake/Portfile	2010-10-21 12:23:29 UTC (rev 72579)
@@ -6,7 +6,7 @@
 
 name		cmake
 version		2.8.2
-revision	2
+revision	3
 set branch	[join [lrange [split ${version} .] 0 1] .]
 categories	devel
 maintainers	css
@@ -24,9 +24,9 @@
                 sha1    272003c2fe392b211ce3b5f895ad84da2ca603cf \
                 rmd160  079b7c8cb385c59b3713a3611d7a9482f7855fe5
 
-depends_lib     port:libidn port:openssl
+depends_lib-append port:libidn port:openssl
 
-configure.env   CMAKE_PREFIX_PATH=${prefix} \
+configure.env-append CMAKE_PREFIX_PATH=${prefix} \
 				CMAKE_INCLUDE_PATH=${prefix}/include/ncurses \
 				CMAKE_LIBRARY_PATH=${prefix}/lib
 
@@ -66,9 +66,9 @@
 }
 
 variant gui description {Qt4 based cmake-gui} {
-	depends_lib-append port:qt4-mac
+    PortGroup qt4 1.0
 	patchfiles-append patch-CMakeLists.txt.diff
-	configure.args-append --qt-gui --qt-qmake=${prefix}/libexec/qt4-mac/bin/qmake
+	configure.args-append --qt-gui --qt-qmake=${qt_qmake_cmd}
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101021/401ca227/attachment.html>


More information about the macports-changes mailing list