Revision: 119496 https://trac.macports.org/changeset/119496 Author: mk@macports.org Date: 2014-04-27 13:23:50 -0700 (Sun, 27 Apr 2014) Log Message: ----------- rkward(-devel): remove binary and debug variants for now (to avoid creating of directories every time the portfile gets parsed) Modified Paths: -------------- trunk/dports/kde/rkward/Portfile trunk/dports/kde/rkward-devel/Portfile Modified: trunk/dports/kde/rkward/Portfile =================================================================== --- trunk/dports/kde/rkward/Portfile 2014-04-27 19:36:09 UTC (rev 119495) +++ trunk/dports/kde/rkward/Portfile 2014-04-27 20:23:50 UTC (rev 119496) @@ -64,32 +64,4 @@ } configure.cmd cmake .. -# configure R to use Mac binaries by default -# you must first install the OS X packages of CRAN R, as we'll link against them -subport rkward-binary { - conflicts-append rkward rkward-devel-binary rkward-devel-debug rkward-debug - depends_lib-delete port:gcc47 port:R - configure.compiler llvm-gcc-4.2 - configure.args-delete \ - -DR_EXECUTABLE=${prefix}/Library/Frameworks/R.framework/Resources/R - configure.args-append \ - -DUSE_BINARY_PACKAGES=1 \ - -DR_EXECUTABLE=/Library/Frameworks/R.framework/Resources/R \ - -DR_LIBDIR=${prefix}/Library/Frameworks/R.framework/Resources/library - # create libdir if it doesn't exist - file mkdir ${prefix}/Library/Frameworks/R.framework/Resources/library -} - -# compile with full debugging support -subport rkward-debug { - conflicts-append rkward rkward-devel-binary rkward-devel-debug rkward-binary - depends_lib-append port:valgrind - configure.args-append -DCMAKE_BUILD_TYPE=debugfull -} - build.dir ${worksrcdir}/build - -pre-pkg { - file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall - file attributes ${package.scripts}/postinstall -permissions 0755 -} Modified: trunk/dports/kde/rkward-devel/Portfile =================================================================== --- trunk/dports/kde/rkward-devel/Portfile 2014-04-27 19:36:09 UTC (rev 119495) +++ trunk/dports/kde/rkward-devel/Portfile 2014-04-27 20:23:50 UTC (rev 119496) @@ -64,32 +64,4 @@ } configure.cmd cmake .. -# configure R to use Mac binaries by default -# you must first install the OS X packages of CRAN R, as we'll link against them -subport rkward-devel-binary { - conflicts-append rkward-devel rkward-binary rkward-devel-debug rkward-debug - depends_lib-delete port:gcc47 port:R - configure.compiler llvm-gcc-4.2 - configure.args-delete \ - -DR_EXECUTABLE=${prefix}/Library/Frameworks/R.framework/Resources/R - configure.args-append \ - -DUSE_BINARY_PACKAGES=1 \ - -DR_EXECUTABLE=/Library/Frameworks/R.framework/Resources/R \ - -DR_LIBDIR=${prefix}/Library/Frameworks/R.framework/Resources/library - # create libdir if it doesn't exist - file mkdir ${prefix}/Library/Frameworks/R.framework/Resources/library -} - -# compile with full debugging support -subport rkward-devel-debug { - conflicts-append rkward-devel rkward-devel-binary rkward-debug rkward-binary - depends_lib-append port:valgrind - configure.args-append -DCMAKE_BUILD_TYPE=debugfull -} - build.dir ${worksrcdir}/build - -pre-pkg { - file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall - file attributes ${package.scripts}/postinstall -permissions 0755 -}