# -*- 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 PortGroup qt4 1.0 name qt4-creator-mac version 2.5.2 categories devel aqua platforms darwin 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.nokia.com/products/developer-tools distname qt-creator-${version}-src master_sites http://get.qt.nokia.com/qtcreator/ use_zip yes checksums rmd160 0f628d3e4dfb5c49775b6d651761288ed0b0d02b \ sha256 4bc8439e4cd967ce8076138e88bb79525666f56409adca755111a48b1704dcb9 # fix up QMake build files to remove debug and release building; # specify that here instead. patchfiles patch-remove_build_types.diff post-patch { # remove arch from QMake build scripts reinplace "/ppc/d" ${worksrcpath}/qtcreator.pri } pre-configure { # set arch type(s); done is a stage to make sure the 'options # qt_arch_types' is evaluated -after- +universal (if selected). configure.pre_args CONFIG+="${qt_arch_types}" # always build just the release, no debug configure.pre_args-append CONFIG+="release" } configure.cmd ${qt_qmake_cmd} configure.args "-o Makefile qtcreator.pro" configure.post_args configure.universal_args # allow ccache, if specified by the user pre-build { if {[tbool configure.ccache]} { build.post_args "CCACHE=ccache" } } destroot { xinstall -m 755 -d ${destroot}${qt_apps_dir} copy "${worksrcpath}/bin/Qt Creator.app" "${destroot}${qt_apps_dir}" } universal_variant yes livecheck.type regex livecheck.url http://get.qt.nokia.com/qtcreator/ # Qt Creator 2.* requires Qt 4.7 livecheck.regex "qt-creator-(2.\[0-9.-\]+)-src.zip"