Commit c07d4381 authored by m.eik michalke's avatar m.eik michalke
Browse files

updated stable Portfile

  - for use in MacPorts only the final "pre-pkg" section should need to be removed (untested)
parent 5e5858f8
......@@ -2,19 +2,19 @@
# $Id$
PortSystem 1.0
PortGroup kde4 1.1
fetch.type git
# See dports/_resources/port1.0/group/kde4-1.1.tcl for more info.
PortGroup kde4 1.1
name rkward
version 0.6.4
git.branch releases/0.6.4
#patchfiles patch-rkward-rbackend-rkstructuregetter.cpp.diff
worksrcdir ${name}-${version}
# On next version or revision bump see notes in 'pre-activate' phase:
revision 1
conflicts rkward-devel
categories kde kde4 math science
maintainers mk
license GPL-2
maintainers mk
license GPL-2+
platforms darwin
description KDE frontend to the R statistics language
......@@ -23,20 +23,21 @@ long_description RKWard aims to become an easy to use, transparent frontend t
for statistical computation and graphics. Besides a convenient GUI for the most important \
statistical functions, future versions will also provide seamless integration with an office-suite.
# maybe in the near future?
#master_sites kde:rkward
patchfiles patch-dbus_session_startup.diff
worksrcdir ${name}-${version}
depends_lib port:kdelibs4 \
port:kate \
port:okular \
#checksums rmd160 a15116209a28676db4ce1bd1f9a4b31f5be345c8 \
# sha256 3534e58a6246f2be18e6158cf486ecfef6531fee4f0060d7ea1955a823b5add6
checksums rmd160 9923d04eb522d5cf805bd3a628692a539eee820a
sha256 a0fb7d084519e710ea3c7dc60bb92d24126bcb002bd1d1e00231f480e373f6c5
post-extract {
file mkdir ${worksrcpath}/build
......@@ -57,11 +58,34 @@ configure.post_args ..
build.dir ${worksrcpath}/build
# We force deletion of all residual (previously not properly destrooted) rkward files
# possibly installed on the buildbots, which otherwise fail for the rkward port
# [this should be deleted once the buildbots are clean again]:
pre-activate {
# delete ${frameworks_dir}/R.framework/Resources/library/rkward/
# delete ${frameworks_dir}/R.framework/Resources/library/rkwardtests/
# TODO: First we want to know the timestamps for further failure analysis,
# which would have to be determined next time we have a revision bump.
if {[file exists ${frameworks_dir}/R.framework/Resources/library/rkward]} {
system "ls -ltR ${frameworks_dir}/R.framework/Resources/library/rkward/"
if {[file exists ${frameworks_dir}/R.framework/Resources/library/rkwardtests]} {
system "ls -ltR ${frameworks_dir}/R.framework/Resources/library/rkwardtests/"
# NOTE: rkward isn't binary distributable, which is why [1] doesn't exist!
# [1]
livecheck.type regex
livecheck.regex "${name}-(\\d+\\.\\d+\\.\\d+)\\.tar"
livecheck.regex ">Get RKWard (\\d+\\.\\d+\\.\\d+)<"
pre-pkg {
file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment