Ticket #39883: Portfile

File Portfile, 1.4 KB (added by kurthindenburg (Kurt Hindenburg), 8 years ago)
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
3PortSystem          1.0
4PortGroup           kde4    1.1
5PortGroup           cmake   1.0
6
7name                choqok
8version             1.3
9categories          kde kde4
10maintainers         nomaintainer
11license             GPL-2+
12
13description         A Free/Open Source micro-blogging client for KDE.
14long_description    ${description}
15platforms           darwin
16homepage            http://choqok.gnufolks.org/
17
18depends_build       port:qt4-mac \
19                    port:qca \
20                    port:qoauth \
21                    port:qjson \
22                    port:kdelibs4
23
24master_sites        sourceforge:${name}
25distfiles           ${name}-${version}.tar.bz2
26use_bzip2           yes
27checksums           rmd160 b08a7efba34ae87e2087b347f4c513b46d0de413 \
28                    sha256 73a8448b060248df3d8f83c1cf27a7c4c44f59c37960fbcc5af098de1772c2fe
29
30configure.cmd       cmake
31configure.args-append  -DBUNDLE_INSTALL_DIR=${applications_dir}/KDE4
32
33# For some reason, choqok tries to install other .cmake files
34post-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