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

Last change on this file since 59743 was 59743, checked in by rene@…, 10 years ago

office/taskjuggler: Update to version 2.4.3. Remove patches that are upstream now.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 3.7 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 59743 2009-10-21 15:28:00Z rene@macports.org $
3
4PortSystem          1.0
5
6name                taskjuggler
7version             2.4.3
8homepage            http://www.taskjuggler.org/
9categories          office 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
19use_bzip2           yes
20master_sites        http://www.taskjuggler.org/download/:source
21distfiles           ${distname}${extract.suffix}:source
22checksums           ${distname}${extract.suffix} \
23                        md5     3bc88500856c7c9dc2fc526d5f04ac04 \
24                        sha1    00421ca022319da10f57607f8b62f8430f770767 \
25                        rmd160  76b403e76dd79b804013e48b8e0eab6fb3b5da9e \
26                    manual-2.4.3.tar.bz2 \
27                        md5     39bebc7d29eba0ce552d62e1f7a8fe7d \
28                        sha1    8d1a87c73a5aa9f8b2e184731a36ec6242e2da7d \
29                        rmd160  8b246991d57001ca56d1bb94981a04ef1af50e95
30
31depends_lib         port:qt3 \
32                    port:fontconfig \
33                    port:jpeg \
34                    port:libpng \
35                    port:kdebase3 \
36                    port:kdelibs3 \
37                    port:kdepim3
38
39configure.args      --enable-mac \
40                    --disable-docs \
41                    --without-arts \
42                    --with-qt-dir=${prefix}/lib/qt3 \
43                    --with-extra-includes=${prefix}/include \
44                    --with-extra-libs=${prefix}/lib
45
46pre-configure {
47    system "echo > ${worksrcpath}/admin/cvs.sh"
48}
49
50patchfiles          patch-configure.diff
51
52build.args          DYLD_LIBRARY_PATH=${worksrcpath}/taskjuggler/.libs
53build.env           MAKEFLAGS="-j${build.jobs}"
54
55platform darwin 9 {
56build.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\"
57}
58
59destroot.args       DESTDIR=${destroot}${prefix} \
60                    DYLD_LIBRARY_PATH=${worksrcpath}/taskjuggler/.libs \
61                    kde_locale=${destroot}/share/locale \
62                    docprefix=${destroot}/share/doc
63
64post-destroot {
65    if {[variant_isset docs]} {
66        # move handbook to destroot
67        set manual_path ${prefix}/share/doc/${name}/manual
68        xinstall -d ${destroot}${manual_path}
69        eval xinstall -m 640 [glob ${workpath}/manual-${version}/*.html] \
70            ${destroot}${manual_path}
71    }
72}
73
74variant qt3mac description {Use qt3mac instead of qt3} {
75    configure.args-delete       --with-qt-dir=${prefix}/lib/qt3
76    depends_lib-delete          port:qt3
77    configure.args-append       --with-qt-dir=${prefix}/lib/qt3mac
78    depends_lib-append          port:qt3-mac
79}
80
81variant nokde description {Build the command line version} {
82    configure.args-append       --with-kde-support=no --with-ical-support=no
83    depends_lib-delete          port:kdebase3 \
84                                port:fontconfig \
85                                port:kdelibs3 \
86                                port:kdepim3
87}
88
89variant docs description {Install handbook} {
90    master_sites-append     http://www.taskjuggler.org/download/:docs
91    distfiles-append        manual-${version}${extract.suffix}:docs
92}
93
94variant debug description {Enable debug mode} {
95    configure.args-append       --enable-debug=yes
96}
97
98livecheck.type      regex
99livecheck.url       ${homepage}/download.php
100livecheck.regex     "Latest Stable Taskjuggler \\(Version (\\d+.\\d+.\\d+)\\)"
101
Note: See TracBrowser for help on using the repository browser.