[68894] trunk/dports/lang
davidnichols at macports.org
davidnichols at macports.org
Thu Jun 17 07:16:06 PDT 2010
Revision: 68894
http://trac.macports.org/changeset/68894
Author: davidnichols at macports.org
Date: 2010-06-17 07:16:01 -0700 (Thu, 17 Jun 2010)
Log Message:
-----------
added initial port of the qt4 module for the qore programming language
Added Paths:
-----------
trunk/dports/lang/qore-qt4-module/
trunk/dports/lang/qore-qt4-module/Portfile
trunk/dports/lang/qore-qt4-module/files/
trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-CMakeLists.txt.diff
trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-smokeconfig.xml.diff
Added: trunk/dports/lang/qore-qt4-module/Portfile
===================================================================
--- trunk/dports/lang/qore-qt4-module/Portfile (rev 0)
+++ trunk/dports/lang/qore-qt4-module/Portfile 2010-06-17 14:16:01 UTC (rev 68894)
@@ -0,0 +1,37 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+# We are not using cmake portgroup because of linking errors
+# in the smokegen target/module (internal only, it's not installed at all)
+#PortGroup cmake 1.0
+
+name qore-qt4-module
+version 0.1.0
+categories lang
+maintainers scribus.info:petr
+description Qt4 module for Qore
+long_description Module allowing to use Qt4 toolkit from the Qore Programming Language
+homepage http://qore.org
+platforms darwin
+master_sites sourceforge:qore
+use_bzip2 yes
+
+checksums md5 46783f7e20ec2b5546caf2b764268090 \
+ sha1 f13badcf78bccb6ba1fb68d2dbc03fc57ff3c4f7 \
+ rmd160 825b52e2a6579b0f56e7e056b28d5f448e5a4fe9
+
+patchfiles patch-smoke-qt-smokeconfig.xml.diff \
+ patch-smoke-qt-CMakeLists.txt.diff
+
+depends_lib port:qore \
+ port:qt4-mac
+
+depends_build port:cmake
+
+configure.cmd cmake
+configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix}
+configure.args -DCMAKE_BUILD_TYPE=Release \
+ -DQT_QMAKE_EXECUTABLE=${prefix}/libexec/qt4-mac/bin/qmake \
+ .
+
Property changes on: trunk/dports/lang/qore-qt4-module/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-CMakeLists.txt.diff
===================================================================
--- trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-CMakeLists.txt.diff (rev 0)
+++ trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-CMakeLists.txt.diff 2010-06-17 14:16:01 UTC (rev 68894)
@@ -0,0 +1,17 @@
+Index: smoke/qt/CMakeLists.txt
+===================================================================
+--- smoke/qt/CMakeLists.txt (revision 3640)
++++ smoke/qt/CMakeLists.txt (working copy)
+@@ -120,7 +120,11 @@
+ ${QT_QTSVG_LIBRARY}
+ ${QT_QTXML_LIBRARY} )
+
+-set_target_properties(qoresmokeqt PROPERTIES VERSION 3.0.0 SOVERSION 3 )
++set_target_properties(qoresmokeqt PROPERTIES VERSION 3.0.0 SOVERSION 3)
++# workaround for otool -L paths of qore module. It must go with a path.
++if (APPLE)
++ set_target_properties(qoresmokeqt PROPERTIES INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX})
++endif (APPLE)
+
+ # Don't use the KDE ${LIB_INSTALL_DIR} macro here as this file is
+ # for Qt only installs
Added: trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-smokeconfig.xml.diff
===================================================================
--- trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-smokeconfig.xml.diff (rev 0)
+++ trunk/dports/lang/qore-qt4-module/files/patch-smoke-qt-smokeconfig.xml.diff 2010-06-17 14:16:01 UTC (rev 68894)
@@ -0,0 +1,13 @@
+Index: smoke/qt/smokeconfig.xml
+===================================================================
+--- smoke/qt/smokeconfig.xml (revision 3640)
++++ smoke/qt/smokeconfig.xml (working copy)
+@@ -49,6 +49,7 @@
+ <signature>.*QMenu::macMenu.*</signature>
+ <signature>.*QCoreXmlStreamReader*.</signature>
+ <signature>.*QCoreXmlStreamWriter*.</signature>
++ <signature>.*\(QCoreXmlStreamReader.*</signature>
+ <!-- temporary removal of QtWebkit -->
+ <signature>.*QWeb.*</signature>
+ <signature>.*ExtensionOption.*</signature>
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100617/23226f2f/attachment.html>
More information about the macports-changes
mailing list