source: trunk/dports/irc/quassel/Portfile @ 136521

Last change on this file since 136521 was 136521, checked in by sicherha@…, 4 years ago

qt4-creator-mac, quassel: openmaintainer -> nomaintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# -*- 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
2# $Id: Portfile 136521 2015-05-20 09:21:29Z sicherha@macports.org $
3
4PortSystem 1.0
5PortGroup cmake 1.0
6PortGroup cxx11 1.0
7
8name            quassel
9version         0.11.1
10categories      irc
11license         GPL-3
12platforms       darwin
13maintainers     nomaintainer
14homepage        http://quassel-irc.org
15master_sites    ${homepage}/pub
16
17checksums       rmd160  0c2faccfb3dbbe7d3c38a86598e3ee9e0be0dcfa \
18                sha256  ad60aeb937e2cb5dc2b510daf46940e0bcf27efb4a20b80c776174109aa7566e
19
20depends_lib     port:dbusmenu-qt \
21                port:openssl \
22                port:phonon \
23                port:qt4-mac \
24                port:zlib
25
26use_bzip2       yes
27
28# Do not use git to find out the program version - there is no ".git" directory
29# in the source tarball
30patchfiles      patch-scripts-build-macosx_makebundle.py.diff \
31                patch-render.diff
32
33post-patch {
34    reinplace "s|@@VERSION@@|${version}|" \
35        ${worksrcpath}/scripts/build/macosx_makebundle.py
36}
37
38cmake.out_of_source yes
39
40configure.args  -DWANT_CORE=OFF \
41                -DWANT_QTCLIENT=OFF \
42                -DWANT_MONO=OFF \
43                -DWITH_KDE=OFF
44
45if {${name} == ${subport}} {
46
47    description \
48        Qt4 IRC client
49    long_description \
50        Quassel IRC is a modern, cross-platform IRC client. This port installs \
51        the monolithic variant, which does not require a separate Quassel core.
52
53    depends_run-append port:qt4-mac-sqlite3-plugin
54
55    configure.args-replace -DWANT_MONO=OFF -DWANT_MONO=ON
56
57    destroot {
58        copy "${build.dir}/Quassel.app" "${destroot}${applications_dir}"
59    }
60}
61
62subport ${name}-client {
63
64    description \
65        Qt4 IRC client - client component
66    long_description \
67        Quassel IRC is a modern, cross-platform, distributed IRC client, \
68        meaning that one (or multiple) client(s) can attach to and detach from \
69        a central core - much like the popular combination of screen and a \
70        text-based IRC client such as WeeChat, but graphical.
71
72    depends_run-append port:qca-ossl
73
74    configure.args-replace -DWANT_QTCLIENT=OFF -DWANT_QTCLIENT=ON
75
76    destroot {
77        copy "${build.dir}/Quassel Client.app" "${destroot}${applications_dir}"
78    }
79}
80
81livecheck.type  regex
82livecheck.url   http://quassel-irc.org/pub/
83livecheck.regex "${name}-(\[0-9\.\]+)\.tar\.bz2"
Note: See TracBrowser for help on using the repository browser.