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