[rkward-cvs] [rkward] macports/kde/rkward-devel: add fetching of translations to the MacPorts portfile.

m.eik michalke meik.michalke at uni-duesseldorf.de
Mon Feb 9 15:05:47 UTC 2015


Git commit ea8712fc387865bb13ff1d60c3cc11c78b6eff6e by m.eik michalke.
Committed on 09/02/2015 at 15:05.
Pushed by meikm into branch 'master'.

add fetching of translations to the MacPorts portfile.

are the pluginmaps in master currently broken, again?

M  +6    -0    macports/kde/rkward-devel/Portfile

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

diff --git a/macports/kde/rkward-devel/Portfile b/macports/kde/rkward-devel/Portfile
index 81e7443..d20442b 100644
--- a/macports/kde/rkward-devel/Portfile
+++ b/macports/kde/rkward-devel/Portfile
@@ -76,6 +76,12 @@ subport rkward-binary {
 
 post-extract {
         file mkdir ${worksrcpath}/build
+        # need to fetch the plugin translations first
+        if [file exists ${worksrcpath}/i18n/po] {
+            system "cd ${worksrcpath}/i18n/po && git pull --rebase"
+        } else {
+            system "cd ${worksrcpath}/i18n && git clone http://anongit.kde.org/scratch/tfry/rkward-po-export po"
+        }
 }
 
 configure.dir       ${worksrcpath}/build


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
rkward-cvs mailing list
rkward-cvs at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-cvs


More information about the rkward-tracker mailing list