# -*- 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 cmake 1.0 PortGroup cxx11 1.0 PortGroup qt5 1.0 name quassel version 0.12.4 revision 1 categories irc license GPL-2 GPL-3 platforms darwin maintainers nomaintainer homepage http://quassel-irc.org master_sites ${homepage}/pub checksums rmd160 f7282c07716342b235ab506722c17675854569fb \ sha256 93e4e54cb3743cbe2e5684c2fcba94fd2bc2cd739f7672dee14341b49c29444d depends_lib-append \ port:qt5-qtscript \ path:lib/libssl.dylib:openssl \ port:zlib use_bzip2 yes # Do not use git to find out the program version - there is no ".git" directory # in the source tarball patchfiles patch-scripts-build-macosx_makebundle.py.diff post-patch { reinplace "s|@@VERSION@@|${version}|" \ ${worksrcpath}/scripts/build/macosx_makebundle.py } cmake.out_of_source yes configure.args -DWANT_CORE=OFF \ -DWANT_QTCLIENT=OFF \ -DWANT_MONO=OFF \ -DWITH_KDE=OFF \ -DUSE_QT5=ON if {${name} eq ${subport}} { description \ Qt5 IRC client long_description \ Quassel IRC is a modern, cross-platform IRC client. This port installs \ the monolithic variant, which does not require a separate Quassel core. depends_run-append port:qt5-sqlite-plugin configure.args-replace -DWANT_MONO=OFF -DWANT_MONO=ON destroot { copy "${build.dir}/Quassel.app" "${destroot}${applications_dir}" } } subport ${name}-client { description \ Qt5 IRC client - client component long_description \ Quassel IRC is a modern, cross-platform, distributed IRC client, \ meaning that one (or multiple) client(s) can attach to and detach from \ a central core - much like the popular combination of screen and a \ text-based IRC client such as WeeChat, but graphical. # QCA is needed for chat encryption, but we only have a variant for Qt5 # QCA, so we'd have to use require_active_variants, which I think isn't # worth the additional effort. #depends_run-append port:qca-ossl configure.args-replace -DWANT_QTCLIENT=OFF -DWANT_QTCLIENT=ON destroot { copy "${build.dir}/Quassel Client.app" "${destroot}${applications_dir}" } } livecheck.type regex livecheck.url http://quassel-irc.org/pub/ livecheck.regex "${name}-(\[0-9\.\]+)\.tar\.bz2"