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 | |
---|
6 | name calligra |
---|
7 | version 2.5.94 |
---|
8 | categories kde kde4 |
---|
9 | maintainers openmaintainer |
---|
10 | license {GPL-2} |
---|
11 | description Calligra Suite is an office suite built on KDE4 platform. |
---|
12 | long_description ${description} |
---|
13 | platforms darwin |
---|
14 | homepage http://www.calligra.org |
---|
15 | distname calligra-${version} |
---|
16 | master_sites kde:unstable/${distname}/ |
---|
17 | use_bzip2 yes |
---|
18 | depends_build port:cmake \ |
---|
19 | port:pkgconfig \ |
---|
20 | port:gmake \ |
---|
21 | port:docbook-xsl-ns \ |
---|
22 | port:automoc \ |
---|
23 | |
---|
24 | depends_lib port:kdelibs4 \ |
---|
25 | port:kde4-runtime \ |
---|
26 | port:kdepimlibs4 \ |
---|
27 | port:sqlite3 \ |
---|
28 | port:eigen \ |
---|
29 | port:boost \ |
---|
30 | port:qimageblitz \ |
---|
31 | port:icu \ |
---|
32 | port:fftw-3 \ |
---|
33 | port:gsl \ |
---|
34 | port:glew \ |
---|
35 | port:lcms2 \ |
---|
36 | port:openexr \ |
---|
37 | port:exiv2 \ |
---|
38 | port:libwpd \ |
---|
39 | port:libwps \ |
---|
40 | port:libwpg \ |
---|
41 | port:libvisio \ |
---|
42 | port:pstoedit \ |
---|
43 | port:libkdcraw \ |
---|
44 | port:poppler |
---|
45 | # poppler should have variant +qt4 |
---|
46 | |
---|
47 | checksums rmd160 c7fd67ff308f55aa76890c854d892bfc4d985db5 \ |
---|
48 | sha256 3b405d74046bee4446e4a7a311a27c5986458f557e05d14b9c49855cc0a9de7e |
---|
49 | |
---|
50 | configure.args-append -DBUILD_active=0 -DWITH_Marble=0 -DWITH_KDeclarative=0 -DBUILD_mysql=0 -DWITH_Okular=0 \ |
---|
51 | ../${distname} |
---|
52 | |
---|
53 | variant marble description {Build with marble map widget} { |
---|
54 | depends_lib-append port:marble |
---|
55 | configure.args-delete -DWITH_Marble=0 |
---|
56 | configure.args-append -DWITH_Marble=1 |
---|
57 | } |
---|
58 | |
---|
59 | variant okular description {Build with okular plugin} { |
---|
60 | depends_lib-append port:okular |
---|
61 | configure.args-delete -DWITH_Okular=0 |
---|
62 | configure.args-append -DWITH_Okular=1 |
---|
63 | } |
---|
64 | |
---|
65 | variant sql_drivers description {Build with extra Kexi sql driver} { |
---|
66 | depends_lib-append port:mysql55 \ |
---|
67 | port:libpqxx \ |
---|
68 | port:freetds \ |
---|
69 | port:xbase |
---|
70 | configure.args-delete -DBUILD_mysql=0 |
---|
71 | configure.args-append -DBUILD_mysql=1 |
---|
72 | } |
---|