Changeset 119496


Ignore:
Timestamp:
Apr 27, 2014, 8:23:50 PM (5 years ago)
Author:
mk@…
Message:

rkward(-devel): remove binary and debug variants for now (to avoid creating of directories every time the portfile gets parsed)

Location:
trunk/dports/kde
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/kde/rkward-devel/Portfile

    r119489 r119496  
    6565configure.cmd       cmake ..
    6666
    67 # configure R to use Mac binaries by default
    68 # you must first install the OS X packages of CRAN R, as we'll link against them
    69 subport rkward-devel-binary {
    70         conflicts-append rkward-devel rkward-binary rkward-devel-debug rkward-debug
    71         depends_lib-delete   port:gcc47 port:R
    72         configure.compiler   llvm-gcc-4.2
    73         configure.args-delete \
    74                -DR_EXECUTABLE=${prefix}/Library/Frameworks/R.framework/Resources/R
    75         configure.args-append \
    76                -DUSE_BINARY_PACKAGES=1 \
    77                -DR_EXECUTABLE=/Library/Frameworks/R.framework/Resources/R \
    78                -DR_LIBDIR=${prefix}/Library/Frameworks/R.framework/Resources/library
    79         # create libdir if it doesn't exist
    80         file mkdir ${prefix}/Library/Frameworks/R.framework/Resources/library
    81 }
    82 
    83 # compile with full debugging support
    84 subport rkward-devel-debug {
    85         conflicts-append rkward-devel rkward-devel-binary rkward-debug rkward-binary
    86         depends_lib-append port:valgrind
    87         configure.args-append -DCMAKE_BUILD_TYPE=debugfull
    88 }
    89 
    9067build.dir           ${worksrcdir}/build
    91 
    92 pre-pkg {
    93         file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall
    94         file attributes ${package.scripts}/postinstall -permissions 0755
    95 }
  • trunk/dports/kde/rkward/Portfile

    r119488 r119496  
    6565configure.cmd       cmake ..
    6666
    67 # configure R to use Mac binaries by default
    68 # you must first install the OS X packages of CRAN R, as we'll link against them
    69 subport rkward-binary {
    70         conflicts-append rkward rkward-devel-binary rkward-devel-debug rkward-debug
    71         depends_lib-delete   port:gcc47 port:R
    72         configure.compiler   llvm-gcc-4.2
    73         configure.args-delete \
    74                -DR_EXECUTABLE=${prefix}/Library/Frameworks/R.framework/Resources/R
    75         configure.args-append \
    76                -DUSE_BINARY_PACKAGES=1 \
    77                -DR_EXECUTABLE=/Library/Frameworks/R.framework/Resources/R \
    78                -DR_LIBDIR=${prefix}/Library/Frameworks/R.framework/Resources/library
    79         # create libdir if it doesn't exist
    80         file mkdir ${prefix}/Library/Frameworks/R.framework/Resources/library
    81 }
    82 
    83 # compile with full debugging support
    84 subport rkward-debug {
    85         conflicts-append rkward rkward-devel-binary rkward-devel-debug rkward-binary
    86         depends_lib-append port:valgrind
    87         configure.args-append -DCMAKE_BUILD_TYPE=debugfull
    88 }
    89 
    9067build.dir           ${worksrcdir}/build
    91 
    92 pre-pkg {
    93         file copy -force -- ${worksrcdir}/macports/postinstall ${package.scripts}/postinstall
    94         file attributes ${package.scripts}/postinstall -permissions 0755
    95 }
Note: See TracChangeset for help on using the changeset viewer.