1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name taskjuggler |
---|
6 | version 2.4.0 |
---|
7 | homepage http://www.taskjuggler.org/ |
---|
8 | categories pim |
---|
9 | |
---|
10 | description A powerful project management tool. |
---|
11 | long_description TaskJuggler is a modern and powerful, Open Source \ |
---|
12 | project management tool. |
---|
13 | |
---|
14 | maintainers bitkanal.net:rene |
---|
15 | |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | master_sites http://www.taskjuggler.org/download/ |
---|
19 | distname ${name}-${version} |
---|
20 | extract.suffix tar.bz2 |
---|
21 | use_bzip2 yes |
---|
22 | checksums md5 d9076b5a1d2601f93ea4bc07780b7297 \ |
---|
23 | sha1 e20e64d083d03979e58384fab568366b755032b5 \ |
---|
24 | rmd160 1b24f9d4bc7fc2da3672b75aa6b334157806fba8 |
---|
25 | |
---|
26 | depends_lib port:qt3 \ |
---|
27 | port:fontconfig \ |
---|
28 | port:jpeg \ |
---|
29 | port:libpng \ |
---|
30 | port:kdebase3 \ |
---|
31 | port:kdelibs3 \ |
---|
32 | port:kdepim3 |
---|
33 | depends_build port:automake \ |
---|
34 | port:autoconf |
---|
35 | |
---|
36 | configure.args --prefix=${prefix} \ |
---|
37 | --enable-mac \ |
---|
38 | --disable-docs \ |
---|
39 | --without-arts \ |
---|
40 | --with-qt-dir=${prefix}/lib/qt3 \ |
---|
41 | --with-extra-includes=${prefix}/include \ |
---|
42 | --with-extra-libs=${prefix}/lib |
---|
43 | |
---|
44 | patchfiles patch-admin-libtool.m4.in \ |
---|
45 | patch-TestSuite-runtests \ |
---|
46 | patch-TaskJugglerUI-mainwidget.cpp \ |
---|
47 | patch-TaskJugglerUI-mainwidget.h |
---|
48 | |
---|
49 | build.args DYLD_LIBRARY_PATH=${worksrcpath}/taskjuggler/.libs \ |
---|
50 | LDFLAGS=\"-dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib\" |
---|
51 | |
---|
52 | destroot.target install |
---|
53 | destroot.args DESTDIR=${destroot}${prefix} \ |
---|
54 | DYLD_LIBRARY_PATH=${worksrcpath}/taskjuggler/.libs \ |
---|
55 | kde_locale=${destroot}/share/locale \ |
---|
56 | docprefix=${destroot}/share/doc |
---|
57 | |
---|
58 | variant qt3mac description {uses qt3mac instead of qt3} { |
---|
59 | configure.args-delete --with-qt-dir=${prefix}/lib/qt3 |
---|
60 | depends_lib-delete port:qt3 |
---|
61 | configure.args-append --with-qt-dir=${prefix}/lib/qt3mac |
---|
62 | depends_lib-append port:qt3-mac |
---|
63 | } |
---|
64 | |
---|
65 | variant nokde description {only build the command line version} { |
---|
66 | configure.args-append --with-kde-support=no |
---|
67 | depends_lib-delete port:kdebase3 \ |
---|
68 | port:kdelibs3 \ |
---|
69 | port:kdepim3 |
---|
70 | } |
---|
71 | |
---|
72 | variant docs description {create docbook documentation} { |
---|
73 | configure.args-delete --disable-docs |
---|
74 | depends_build-add port:openjade \ |
---|
75 | port:docbook-xml-4.5 |
---|
76 | } |
---|
77 | |
---|
78 | variant arts description {compile with arts support} { |
---|
79 | configure.args-delete --without-arts |
---|
80 | depends_lib-add port:arts |
---|
81 | } |
---|
82 | |
---|
83 | variant debug description {enable debug} { |
---|
84 | configure.args-append --enable-debug=yes |
---|
85 | } |
---|
86 | |
---|