[rkward-cvs] SF.net SVN: rkward-code:[4647] trunk/rkward/macports/kde
m-eik at users.sf.net
m-eik at users.sf.net
Sun Mar 31 12:23:18 UTC 2013
Revision: 4647
http://sourceforge.net/p/rkward/code/4647
Author: m-eik
Date: 2013-03-31 12:23:17 +0000 (Sun, 31 Mar 2013)
Log Message:
-----------
MacPorts: re-arranged the portfiles so switching between devel and stable is simply a matter of installing "rkward" or "rkward-devel"
Modified Paths:
--------------
trunk/rkward/macports/kde/rkward/Portfile
Added Paths:
-----------
trunk/rkward/macports/kde/rkward-devel/
trunk/rkward/macports/kde/rkward-devel/Portfile
Removed Paths:
-------------
trunk/rkward/macports/kde/rkward/Portfile.release
Modified: trunk/rkward/macports/kde/rkward/Portfile
===================================================================
--- trunk/rkward/macports/kde/rkward/Portfile 2013-03-30 15:01:35 UTC (rev 4646)
+++ trunk/rkward/macports/kde/rkward/Portfile 2013-03-31 12:23:17 UTC (rev 4647)
@@ -3,12 +3,12 @@
PortSystem 1.0
fetch.type svn
-svn.url http://svn.code.sf.net/p/rkward/code/trunk
-#svn.revision 4494
-worksrcdir ${workpath}/trunk/rkward
+svn.url http://svn.code.sf.net/p/rkward/code/branches/release_branches/rkward_0.6.1
+svn.revision 4635
+worksrcdir ${workpath}/release_0.6.1
-name rkward-devel
-version 0.6.1-svn${svn.revision}
+name rkward
+version 0.6.1
categories kde kde4 math science
maintainers hhu.de:meik.michalke
license GPL-2
@@ -25,7 +25,6 @@
master_sites https://sourceforge.net/projects/rkward/files/Current_Stable_Releases
PortGroup cmake 1.0
-
depends_lib port:kdelibs4 \
port:kate \
port:R-framework
@@ -58,6 +57,10 @@
}
configure.cmd cmake ..
+variant binary description {Configure R to install Mac binaries by default} {
+ configure.args-append -DUSE_BINARY_PACKAGES=1
+}
+
build.dir ${worksrcdir}/build
pre-pkg {
Deleted: trunk/rkward/macports/kde/rkward/Portfile.release
===================================================================
--- trunk/rkward/macports/kde/rkward/Portfile.release 2013-03-30 15:01:35 UTC (rev 4646)
+++ trunk/rkward/macports/kde/rkward/Portfile.release 2013-03-31 12:23:17 UTC (rev 4647)
@@ -1,58 +0,0 @@
-# -*- 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
-# $Id$
-
-PortSystem 1.0
-fetch.type svn
-svn.url http://svn.code.sf.net/p/rkward/code/branches/release_branches/rkward_0.6.1
-svn.revision 4635
-worksrcdir ${workpath}/release_0.6.1
-
-name rkward
-version 0.6.1
-categories kde kde4 math science
-maintainers hhu.de:meik.michalke
-license GPL-2
-platforms darwin
-
-description KDE frontend to the R statistics language
-
-long_description RKWard aims to become an easy to use, transparent frontend to R, a powerful system \
- 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.sourceforge.net
-
-master_sites https://sourceforge.net/projects/rkward/files/Current_Stable_Releases
-
-PortGroup cmake 1.0
-depends_lib port:kde4-baseapps \
- port:kate \
- port:R
-
-if {${configure.compiler} == "clang"} {
- configure.compiler llvm-gcc-4.2
-}
-
-post-extract {
- # creates the build dir if it doesn't exist
- # this won't return errors if directory is already there
- file mkdir ${worksrcdir}/build
-}
-
-configure.dir ${worksrcdir}/build
-configure.args-append \
- -DNO_R_XML=1 \
- -DRKVERSION_NUMBER=${version} \
- -DBUNDLE_INSTALL_DIR=${applications_dir}
-# work around moved Qt include dir
-if { ![file exists ${prefix}/include/Qt/qglobal.h] && [file exists ${prefix}/include/QtCore/qglobal.h] } {
- configure.args-append -DQT_QT_INCLUDE_DIR=${prefix}/include/QtCore
-}
-configure.cmd cmake ..
-
-build.dir ${worksrcdir}/build
-
-pre-pkg {
- file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall
- file attributes ${package.scripts}/postinstall -permissions 0755
-}
Added: trunk/rkward/macports/kde/rkward-devel/Portfile
===================================================================
--- trunk/rkward/macports/kde/rkward-devel/Portfile (rev 0)
+++ trunk/rkward/macports/kde/rkward-devel/Portfile 2013-03-31 12:23:17 UTC (rev 4647)
@@ -0,0 +1,70 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+fetch.type svn
+svn.url http://svn.code.sf.net/p/rkward/code/trunk
+#svn.revision 4494
+worksrcdir ${workpath}/trunk/rkward
+
+name rkward-devel
+version 0.6.1-svn${svn.revision}
+categories kde kde4 math science
+maintainers hhu.de:meik.michalke
+license GPL-2
+platforms darwin
+
+description KDE frontend to the R statistics language
+
+long_description RKWard aims to become an easy to use, transparent frontend to R, a powerful system \
+ 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.sourceforge.net
+
+master_sites https://sourceforge.net/projects/rkward/files/Current_Stable_Releases
+
+PortGroup cmake 1.0
+
+depends_lib port:kdelibs4 \
+ port:kate \
+ port:R-framework
+
+# add port:okular once the graphics device is fully functional
+# this needs port:poppler with +qt4 +quartz varaints which cannot be
+# specified with depends_lib-append
+variant okular description {Add okular for nice PDF handling} {
+ depends_lib-append port:okular
+}
+
+if {${configure.compiler} == "clang"} {
+ configure.compiler llvm-gcc-4.2
+}
+
+post-extract {
+ # creates the build dir if it doesn't exist
+ # this won't return errors if directory is already there
+ file mkdir ${worksrcdir}/build
+}
+
+configure.dir ${worksrcdir}/build
+configure.args-append \
+ -DNO_R_XML=1 \
+ -DRKVERSION_NUMBER=${version} \
+ -DBUNDLE_INSTALL_DIR=${applications_dir}
+# work around moved Qt include dir
+if { ![file exists ${prefix}/include/Qt/qglobal.h] && [file exists ${prefix}/include/QtCore/qglobal.h] } {
+ configure.args-append -DQT_QT_INCLUDE_DIR=${prefix}/include/QtCore
+}
+configure.cmd cmake ..
+
+variant binary description {Configure R to install Mac binaries by default} {
+ configure.args-append -DUSE_BINARY_PACKAGES=1
+}
+
+build.dir ${worksrcdir}/build
+
+pre-pkg {
+ file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall
+ file attributes ${package.scripts}/postinstall -permissions 0755
+}
More information about the rkward-tracker
mailing list