source: trunk/dports/kde/rkward/Portfile @ 134150

Last change on this file since 134150 was 134150, checked in by mk@…, 4 years ago

rkward: fix 'ls -ltR' in pre-activate phase for #47064 and leave notes for next revbump in Portfile

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 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 134150 2015-03-19 07:11:43Z mk@macports.org $
3
4PortSystem          1.0
5
6# See dports/_resources/port1.0/group/kde4-1.1.tcl for more info.
7PortGroup           kde4    1.1
8
9name                rkward
10version             0.6.3
11# On next version or revision bump see notes in 'pre-activate' phase:
12revision            1
13
14conflicts           rkward-devel
15categories          kde kde4 math science
16maintainers         hhu.de:meik.michalke kde.org:rkward-devel mk
17license             GPL-2+
18platforms           darwin
19
20description         KDE frontend to the R statistics language
21
22long_description    RKWard aims to become an easy to use, transparent frontend to R, a powerful system \
23                    for statistical computation and graphics. Besides a convenient GUI for the most important \
24                    statistical functions, future versions will also provide seamless integration with an office-suite.
25
26homepage            http://rkward.kde.org
27
28master_sites        http://download.kde.org/stable/${name}/${version}/src
29
30patchfiles          patch-dbus_session_startup.diff
31
32worksrcdir          ${name}-${version}
33
34depends_lib         port:kdelibs4 \
35                    port:kate \
36                    port:okular \
37                    port:R
38
39checksums           rmd160  cfbe0d99630cbc9004d01580ab5ce5399863dfa7 \
40                    sha256  911f7727a28b292428607c93e551f51b2d8fc2cb477de33a1276790210263c93
41
42post-extract {
43        file mkdir ${worksrcpath}/build
44}
45
46configure.dir       ${worksrcpath}/build
47configure.args-append \
48        -DNO_R_XML=1 \
49        -DRKVERSION_NUMBER=${version} \
50        -DBUNDLE_INSTALL_DIR=${applications_dir} \
51        -DR_EXECUTABLE=${frameworks_dir}/R.framework/Resources/R
52
53variant debug description {Add full debugging support} {
54        depends_lib-append port:valgrind
55}
56
57configure.post_args ..
58
59build.dir           ${worksrcpath}/build
60
61# We force deletion of all residual (previously not properly destrooted) rkward files
62# possibly installed on the buildbots, which otherwise fail for the rkward port
63# [this should be deleted once the buildbots are clean again]:
64pre-activate {
65#   delete ${frameworks_dir}/R.framework/Resources/library/rkward/
66#   delete ${frameworks_dir}/R.framework/Resources/library/rkwardtests/
67#
68#
69# TODO: First we want to know the timestamps for further failure analysis,
70#       which would have to be determined next time we have a revision bump.
71#
72    ui_msg "RKWARD_TIMESTAMPS:"
73    system "ls -ltR ${frameworks_dir}/R.framework/Resources/library/rkward/"
74    system "ls -ltR ${frameworks_dir}/R.framework/Resources/library/rkwardtests/"
75#
76# NOTE: rkward isn't binary distributable, which is why [1] doesn't exist!
77#
78# [1] http://packages.macports.org/rkward
79}
80
81livecheck.type      regex
82livecheck.regex     ">Get RKWard (\\d+\\.\\d+\\.\\d+)<"
83
Note: See TracBrowser for help on using the repository browser.