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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup kde4 1.1 |
---|
5 | PortGroup cmake 1.0 |
---|
6 | |
---|
7 | name choqok |
---|
8 | version 1.3 |
---|
9 | categories kde kde4 |
---|
10 | maintainers nomaintainer |
---|
11 | license GPL-2+ |
---|
12 | |
---|
13 | description A Free/Open Source micro-blogging client for KDE. |
---|
14 | long_description ${description} |
---|
15 | platforms darwin |
---|
16 | homepage http://choqok.gnufolks.org/ |
---|
17 | |
---|
18 | depends_build port:qt4-mac \ |
---|
19 | port:qca \ |
---|
20 | port:qoauth \ |
---|
21 | port:qjson \ |
---|
22 | port:kdelibs4 |
---|
23 | |
---|
24 | master_sites sourceforge:${name} |
---|
25 | distfiles ${name}-${version}.tar.bz2 |
---|
26 | use_bzip2 yes |
---|
27 | checksums rmd160 b08a7efba34ae87e2087b347f4c513b46d0de413 \ |
---|
28 | sha256 73a8448b060248df3d8f83c1cf27a7c4c44f59c37960fbcc5af098de1772c2fe |
---|
29 | |
---|
30 | configure.cmd cmake |
---|
31 | configure.args-append -DBUNDLE_INSTALL_DIR=${applications_dir}/KDE4 |
---|
32 | |
---|
33 | # For some reason, choqok tries to install other .cmake files |
---|
34 | post-patch { |
---|
35 | reinplace "s|FindQJson.cmake||g" ${worksrcpath}/cmake/modules/CMakeLists.txt |
---|
36 | reinplace "s|FindQtOAuth.cmake||g" ${worksrcpath}/cmake/modules/CMakeLists.txt |
---|
37 | reinplace "s|FindQtIndidicate.cmake||g" ${worksrcpath}/cmake/modules/CMakeLists.txt |
---|
38 | } |
---|
39 | |
---|
40 | |
---|
41 | |
---|