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

Last change on this file since 97300 was 97300, checked in by rmstonecipher@…, 8 years ago

graphics/libpng upgraded to version 1.5.12, 232 dependent ports revision bumped due to library version number change

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