source: trunk/dports/office/taskjuggler/Portfile @ 38785

Last change on this file since 38785 was 38785, checked in by ryandesign@…, 9 years ago

removing --prefix=${prefix} from configure.args because MacPorts already puts this into configure.pre_args; closes #15883

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.1 KB
Line 
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: Portfile 38785 2008-07-31 09:10:05Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                taskjuggler
7version             2.4.1
8homepage            http://www.taskjuggler.org/
9categories          office project pim
10
11description         A powerful project management tool.
12long_description    TaskJuggler is a modern and powerful, Open Source \
13                    project management tool.
14
15maintainers         rene
16
17platforms           darwin
18
19master_sites        http://www.taskjuggler.org/download/
20distname            ${name}-${version}
21extract.suffix      tar.bz2
22use_bzip2           yes
23checksums           md5 18e0cec8b2ec69220ae7c9a790c16819 \
24                    sha1 f690e57554488b85375ad96cd6a7635bd4ff6507 \
25                    rmd160 e1648e818610776efd0f7f9241e987b92a5413ef
26
27depends_lib         port:automake \
28                    port:autoconf \
29                    port:qt3 \
30                    port:fontconfig \
31                    port:jpeg \
32                    port:libpng \
33                    port:kdebase3 \
34                    port:kdelibs3 \
35                    port:kdepim3
36
37configure.args      --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
44patchfiles          patch-admin-libtool.m4.in.diff \
45                    patch-Examples-FirstProject-AccountingSoftware.tjp.diff
46
47build.args          DYLD_LIBRARY_PATH=${worksrcpath}/taskjuggler/.libs
48
49platform darwin 9 {
50build.args-append   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
53destroot.target     install
54destroot.args       DESTDIR=${destroot}${prefix} \
55                    DYLD_LIBRARY_PATH=${worksrcpath}/taskjuggler/.libs \
56                    kde_locale=${destroot}/share/locale \
57                    docprefix=${destroot}/share/doc
58
59variant qt3mac description {use qt3mac instead of qt3} {
60    configure.args-delete       --with-qt-dir=${prefix}/lib/qt3
61    depends_lib-delete          port:qt3
62    configure.args-append       --with-qt-dir=${prefix}/lib/qt3mac
63    depends_lib-append          port:qt3-mac
64}
65
66variant nokde description {only build the command line version} {
67    configure.args-append       --with-kde-support=no
68    depends_lib-delete          port:kdebase3 \
69                                port:kdelibs3 \
70                                port:kdepim3
71}
72
73variant docs description {create docbook documentation} {
74    configure.args-delete       --disable-docs
75    depends_lib-append          port:openjade \
76                                port:docbook-xml-4.5
77}
78
79variant arts description {compile with arts support} {
80    configure.args-delete       --without-arts
81    depends_lib-append          port:arts
82}
83
84variant debug description {enable debug mode} {
85    configure.args-append       --enable-debug=yes
86}
87
Note: See TracBrowser for help on using the repository browser.