[121555] trunk/dports/devel

mcalhoun at macports.org mcalhoun at macports.org
Sun Jun 29 15:58:33 PDT 2014


Revision: 121555
          https://trac.macports.org/changeset/121555
Author:   mcalhoun at macports.org
Date:     2014-06-29 15:58:32 -0700 (Sun, 29 Jun 2014)
Log Message:
-----------
New Port: qt5-creator-mac

Added Paths:
-----------
    trunk/dports/devel/qt5-creator-mac/
    trunk/dports/devel/qt5-creator-mac/Portfile

Added: trunk/dports/devel/qt5-creator-mac/Portfile
===================================================================
--- trunk/dports/devel/qt5-creator-mac/Portfile	                        (rev 0)
+++ trunk/dports/devel/qt5-creator-mac/Portfile	2014-06-29 22:58:32 UTC (rev 121555)
@@ -0,0 +1,80 @@
+# -*- 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
+
+name                qt5-creator-mac
+
+if { ${subport} eq "${name}-docs" || ${subport} eq "${name}-examples" } {
+    universal_variant no
+    supported_archs   noarch
+}
+PortGroup           qmake5 1.0
+
+version             3.1.2
+categories          devel aqua
+platforms           darwin
+license             LGPL-2.1
+maintainers         mcalhoun openmaintainer
+description         Cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.
+long_description    Qt Creator is a cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.
+
+homepage            http://qt.digia.com/Product/developer-tools
+distname            qt-creator-opensource-src-${version}
+master_sites        https://download.qt-project.org/official_releases/qtcreator/[join [lrange [split ${version} .] 0 1] .]/${version}/
+
+checksums           rmd160  07a306d46050ea4bf3747d8f26000b012f540d22 \
+                    sha256  5c41d2303efa50d7dd37c370bb850c436d9b76f4152dc08f2d13ec8983ee0d2c
+
+if { ${subport} eq ${name}  } {
+    depends_lib-append     port:botan
+    configure.args-append  "USE_SYSTEM_BOTAN=1"
+        
+    if { ![variant_isset universal] } {
+        destroot {
+            # make install attempts to install command line tools into /bin, etcl
+            xinstall -m 755 -d ${destroot}${qt_apps_dir}
+            copy "${worksrcpath}/bin/Qt Creator.app" "${destroot}${qt_apps_dir}"
+        }
+    } else {
+        # We should really just override destroot, but the muniversal Portgroup would override our override.
+        destroot.cmd "true"
+        merger-post-destroot {
+            foreach arch ${universal_archs_to_use} {
+                xinstall -m 755 -d ${destroot}-${arch}${qt_apps_dir}
+                copy "${worksrcpath}-${arch}/bin/Qt Creator.app" "${destroot}-${arch}${qt_apps_dir}"
+            }
+        }
+    }
+}
+
+use_parallel_build  no
+
+subport ${name}-docs {
+    depends_lib-append port:${name} port:qt5-mac-sqlite3-plugin 
+    build.target       docs
+    
+    destroot {
+        delete "${worksrcpath}/bin/Qt Creator.app/Contents/Info.plist"
+        delete "${worksrcpath}/bin/Qt Creator.app/Contents/MacOS/qml2puppet.app/Contents/Info.plist"
+        delete "${worksrcpath}/bin/Qt Creator.app/Contents/MacOS/qmlpuppet.app/Contents/Info.plist"
+        delete "${worksrcpath}/bin/Qt Creator.app/Contents/Resources/qml/qmldump/Info.plist"
+        
+        xinstall -m 755 -d ${destroot}${qt_apps_dir}
+        copy "${worksrcpath}/bin/Qt Creator.app" "${destroot}${qt_apps_dir}"
+        
+        xinstall -m 755 -d ${destroot}${qt_docs_dir}
+        copy ${worksrcpath}/doc/html ${worksrcpath}/doc/html-dev ${destroot}${qt_docs_dir}
+    }
+}
+
+subport ${name}-examples {
+    depends_lib-append port:${name}
+    build           {}
+    destroot.dir    ${worksrcpath}/src/shared/qbs
+    destroot.target -f Makefile.static INSTALL_ROOT=${destroot}${prefix} install_examples
+}
+
+livecheck.type      regex
+livecheck.url       https://qt-project.org/downloads/
+livecheck.regex     qt-creator-opensource-src-(\[a-z0-9.\]+)${extract.suffix}"


Property changes on: trunk/dports/devel/qt5-creator-mac/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140629/9d41e78e/attachment.html>


More information about the macports-changes mailing list