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 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup kde4 1.1 |
---|
6 | |
---|
7 | name krita |
---|
8 | version 2.6.0 |
---|
9 | categories kde4 graphics |
---|
10 | platforms darwin |
---|
11 | license GPL |
---|
12 | maintainers gmail.com:patrik.andersson.se |
---|
13 | description Krita ${version} (without Vc) |
---|
14 | long_description Krita is the full-featured free digital painting studio for \ |
---|
15 | artists who want to create professional work from start to end. \ |
---|
16 | Krita is used by comic book artists, illustrators, concept \ |
---|
17 | artists, matte and texture painters and in the digital VFX \ |
---|
18 | industry. |
---|
19 | homepage http://www.krita.org |
---|
20 | master_sites http://download.kde.org/stable/calligra-latest/\ |
---|
21 | http://www.patriksmediedesign.se/ |
---|
22 | |
---|
23 | checksums rmd160 b25805f91372295d127be7ef229c3b575c662071 \ |
---|
24 | sha256 1bc0cd40734baf68a0d79307d0ffbd8e15a4571375a60b1016f0fc8b68c3d2ce |
---|
25 | |
---|
26 | # Some of these are drawn in as dependencies automatically by the kde4 portgroup, but I'll leave them all in anyway just in case |
---|
27 | depends_lib-append port:kdelibs4 \ |
---|
28 | port:kde4-runtime \ |
---|
29 | port:eigen \ |
---|
30 | port:qt4-mac \ |
---|
31 | port:cmake \ |
---|
32 | port:lcms \ |
---|
33 | port:libpng \ |
---|
34 | port:exiv2 |
---|
35 | |
---|
36 | configure.args-append -DCMAKE_BUILD_TYPE=RelWithDebInfo\ |
---|
37 | -DCREATIVEONLY=ON |
---|
38 | |
---|
39 | # It would be better to do this by setting configure.args instead |
---|
40 | # The src folder does not contain a configure file to run, therefore this solution. |
---|
41 | #configure { |
---|
42 | # system -W ${workpath} "cmake -DCMAKE_INSTALL_PREFIX=${destroot} \ |
---|
43 | # ${worksrcpath} -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCREATIVEONLY=ON" |
---|
44 | #} |
---|
45 | |
---|
46 | # These commands needs to be run, j3 shall be j{n+1} where n is the number of cores |
---|
47 | # I tried withtout them but then it tries to do "make all" and it crashes. |
---|
48 | #build { |
---|
49 | # system -W ${workpath} "make -j3" |
---|
50 | #} |
---|
51 | |
---|
52 | #destroot.violate_mtree yes |
---|
53 | |
---|
54 | # Install prefix is set in the configure, therefore a more simple commandline... |
---|
55 | #destroot { |
---|
56 | # system -W ${workpath} "make install" |
---|
57 | #} |
---|
58 | |
---|
59 | post-activate { |
---|
60 | # export statements removed, they just pointed to placeholders |
---|
61 | # it is necessary to create some kind of path to run the application, perhaps a post-destroot script could do that. |
---|
62 | system "launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist" |
---|
63 | system "launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist" |
---|
64 | system -W ${workpath} "kbuildsycoca4" |
---|
65 | } |
---|