diff --git a/office/charm/Portfile b/office/charm/Portfile
index a2ba6c202cb2e1d60fcdece8a0a8e472bca76d0f..aa56f9ae696c87244d69fb3a6f3e8be25001980e 100644
a
|
b
|
|
2 | 2 | |
3 | 3 | PortSystem 1.0 |
4 | 4 | PortGroup github 1.0 |
5 | | PortGroup cmake 1.0 |
| 5 | PortGroup cmake 1.1 |
6 | 6 | |
7 | 7 | name charm |
8 | | version 1.10.0 |
| 8 | version 1.11.0 |
9 | 9 | |
10 | 10 | github.setup KDAB Charm ${version} |
11 | 11 | |
12 | | maintainers gmail.com:rjvbertin mk openmaintainer |
| 12 | maintainers gmail.com:rjvbertin openmaintainer |
13 | 13 | categories office |
14 | 14 | license GPL-2+ LGPL-2.1+ |
15 | 15 | description Charm - the Cross-Platform Time Tracker |
… |
… |
subport ${name}-qt5 { |
20 | 20 | PortGroup qt5 1.0 |
21 | 21 | |
22 | 22 | conflicts ${name} |
23 | | depends_lib-append port:qt5-sqlite-plugin |
24 | | configure.args-append -DWITH_QT4:BOOL=OFF |
| 23 | qt5.depends_component \ |
| 24 | sqlite-plugin |
| 25 | configure.args-append \ |
| 26 | -DCHARM_FORCE_QT4:BOOL=OFF |
25 | 27 | } |
26 | 28 | |
27 | 29 | if {${subport} ne "${name}-qt5"} { |
… |
… |
if {${subport} ne "${name}-qt5"} { |
30 | 32 | revision 20151018 |
31 | 33 | |
32 | 34 | conflicts ${name}-qt5 |
33 | | depends_build-append port:automoc |
34 | | depends_lib-append port:qt4-mac-sqlite3-plugin |
35 | | configure.args-append -DWITH_QT4:BOOL=ON |
| 35 | depends_build-append \ |
| 36 | port:automoc |
| 37 | depends_lib-append \ |
| 38 | port:qt4-mac-sqlite3-plugin |
| 39 | configure.args-append \ |
| 40 | -DCHARM_FORCE_QT4:BOOL=ON |
36 | 41 | } |
37 | 42 | |
38 | | checksums rmd160 40184c4f0de2b7f9fe328b7fd2f0d47922be6e1c \ |
39 | | sha256 5c7ea12da4ad1324a9aaf1f5d29612fc1d789a70bbcbfa2f57766b96f04275e1 |
| 43 | checksums rmd160 da690a57d743e8c79e2d60d8bb2f29a276b69055 \ |
| 44 | sha256 8729bc0936a481a113b8a56a747455ec488bf565182ca29d8bb583c74b194267 |
40 | 45 | |
41 | | configure.args-append -DCharm_VERSION="${version}" |
| 46 | configure.args-append \ |
| 47 | -DCharm_VERSION="${version}" |
42 | 48 | |
43 | 49 | # These patches have still do be adapted to the current version: |
44 | 50 | #patchfiles adapt-to-osx-macports.patch |
45 | 51 | |
46 | | post-extract {file mkdir ${workpath}/build} |
47 | | # standard post-arg, where to find the primary CMakeLists.txt file. |
48 | | default configure.post_args {../${worksrcdir}} |
49 | | default configure.dir {${workpath}/build} |
50 | | default build.dir {${workpath}/build} |
51 | | |
52 | 52 | use_parallel_build yes |
53 | 53 | |
54 | 54 | destroot { |
55 | | xinstall -m 0755 -d ${destroot}${applications_dir} |
56 | | file copy ${workpath}/build/Charm/Charm.app ${destroot}${applications_dir} |
| 55 | xinstall -m 0755 -d ${destroot}${qt_apps_dir} |
| 56 | file copy ${workpath}/build/Charm/Charm.app ${destroot}${qt_apps_dir} |
57 | 57 | } |
58 | 58 | |