[rkward] macports/kde/rkward: updated stable Portfile

m.eik michalke meik.michalke at uni-duesseldorf.de
Mon Dec 21 13:24:09 UTC 2015


Git commit c07d4381480e6f6d4c8777f8f273855062cf4a59 by m.eik michalke.
Committed on 21/12/2015 at 13:22.
Pushed by meikm into branch 'master'.

updated stable Portfile

  - for use in MacPorts only the final "pre-pkg" section should need to be removed (untested)

M  +43   -19   macports/kde/rkward/Portfile

http://commits.kde.org/rkward/c07d4381480e6f6d4c8777f8f273855062cf4a59

diff --git a/macports/kde/rkward/Portfile b/macports/kde/rkward/Portfile
index c2ea216..ea6a53f 100644
--- a/macports/kde/rkward/Portfile
+++ b/macports/kde/rkward/Portfile
@@ -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.url             http://anongit.kde.org/rkward.git
-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         hhu.de:meik.michalke mk
-license             GPL-2
+maintainers         hhu.de:meik.michalke kde.org:rkward-devel 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.
 
-homepage            http://rkward.kde.org
+homepage            https://rkward.kde.org
 
-# maybe in the near future?
-#master_sites        kde:rkward
-master_sites        http://sourceforge.net/projects/rkward/files/Current_Stable_Releases
+master_sites        http://download.kde.org/stable/${name}/${version}/src
+
+patchfiles          patch-dbus_session_startup.diff
+
+worksrcdir          ${name}-${version}
 
 depends_lib         port:kdelibs4 \
                     port:kate \
                     port:okular \
                     port:R
 
-# FIXME:
-#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]} {
+        ui_msg "RKWARD_TIMESTAMPS:"
+        system "ls -ltR ${frameworks_dir}/R.framework/Resources/library/rkward/"
+    }
+    if {[file exists ${frameworks_dir}/R.framework/Resources/library/rkwardtests]} {
+        ui_msg "RKWARD_TIMESTAMPS:"
+        system "ls -ltR ${frameworks_dir}/R.framework/Resources/library/rkwardtests/"
+    }
+#
+# NOTE: rkward isn't binary distributable, which is why [1] doesn't exist!
+#
+# [1] http://packages.macports.org/rkward
+}
+
 livecheck.type      regex
-# FIXME:
-livecheck.url       http://sourceforge.net/projects/${name}/files/Current_Stable_Releases/
-# FIXME:
-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



More information about the rkward-tracker mailing list