1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name krita |
---|
6 | version 2.6.0 |
---|
7 | categories kde4 |
---|
8 | platforms darwin |
---|
9 | license GPL |
---|
10 | maintainers gmail.com:patrik.andersson.se |
---|
11 | description Krita 2.6.0 (without Vc) |
---|
12 | long_description Krita is the full-featured free digital painting studio for \ |
---|
13 | artists who want to create professional work from start to end. \ |
---|
14 | Krita is used by comic book artists, illustrators, concept \ |
---|
15 | artists, matte and texture painters and in the digital VFX \ |
---|
16 | industry. |
---|
17 | homepage http://www.krita.org |
---|
18 | master_sites http://download.kde.org/stable/calligra-latest/ |
---|
19 | |
---|
20 | checksums rmd160 579752fd844b7064f4386f22c7a36d02ee615fda \ |
---|
21 | sha256 77e1257588856bf4b3924672c847c3c766e8d8819c23017ea24e141e4e9051cf |
---|
22 | |
---|
23 | depends_lib port:kdelibs4 \ |
---|
24 | port:kde4-runtime \ |
---|
25 | port:eigen \ |
---|
26 | port:qt4-mac \ |
---|
27 | port:cmake \ |
---|
28 | port:lcms \ |
---|
29 | port:libpng \ |
---|
30 | port:exiv2 |
---|
31 | |
---|
32 | extract { |
---|
33 | mkdir -p $HOME/kde4/src |
---|
34 | mkdir -p $HOME/kde4/build |
---|
35 | mkdir -p $HOME/kde4/inst |
---|
36 | mkdir -p $HOME/kde4/build/calligra |
---|
37 | mv ${distfiles} $HOME/kde4/src/${distfiles} |
---|
38 | cd $HOME/kde4/src/calligra |
---|
39 | tar -x ${distfiles} |
---|
40 | cd calligra |
---|
41 | } |
---|
42 | |
---|
43 | configure { |
---|
44 | cmake -DCMAKE_INSTALL_PREFIX=$HOME/kde4/inst $HOME/kde4/src/calligra \ |
---|
45 | -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCREATIVEONLY=ON |
---|
46 | } |
---|
47 | |
---|
48 | build { |
---|
49 | make -j3 |
---|
50 | } |
---|
51 | |
---|
52 | test {} |
---|
53 | |
---|
54 | destroot { |
---|
55 | } |
---|
56 | |
---|
57 | install { |
---|
58 | make install |
---|
59 | export KDEDIRS=/path/to/install:$KDEDIRS |
---|
60 | export PATH=/path/to/install/bin:$PATH |
---|
61 | export KDEHOME=/path/to/a/config/dir |
---|
62 | launchctl load -w /Library/LaunchAgents/org.macports.kdecache.plist |
---|
63 | launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist |
---|
64 | kbuildsycoca4 |
---|
65 | } |
---|
66 | |
---|
67 | activate {} |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|