Ignore:
Timestamp:
May 2, 2014, 10:57:29 AM (5 years ago)
Author:
mk@…
Message:

rkward: update according to #32837

Location:
trunk/dports/kde/rkward
Files:
2 added
1 edited

Legend:

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

    r119498 r119608  
    33
    44PortSystem          1.0
     5PortGroup           cmake 1.0
    56fetch.type          svn
    6 svn.url             http://svn.code.sf.net/p/rkward/code/branches/release_branches/rkward_0.6.1
     7name                rkward
     8version             0.6.1
     9revision            2
     10svn.url             http://svn.code.sf.net/p/rkward/code/branches/release_branches/rkward_${version}
    711svn.revision        4635
    8 worksrcdir          ${workpath}/rkward_0.6.1
     12patchfiles          patch-rkward-rbackend-rkstructuregetter.cpp.diff
     13worksrcdir          ${name}_${version}
    914
    10 name                rkward
    1115conflicts           rkward-devel
    12 version             0.6.1
    13 revision            1
    1416categories          kde kde4 math science
    1517maintainers         hhu.de:meik.michalke
     
    2527homepage            http://rkward.sourceforge.net
    2628
    27 master_sites        https://sourceforge.net/projects/rkward/files/Current_Stable_Releases
    28 
    29 PortGroup           cmake 1.0
    30 
    3129depends_lib         port:kdelibs4 \
    3230                    port:kate \
     31                    port:okular \
    3332                    port:R
    3433
    35 # add port:okular once the graphics device is fully functional
    36 # this needs port:poppler with +qt4 +quartz varaints which cannot be
    37 # specified with depends_lib-append
    38 variant okular description {Add okular for nice PDF handling} {
    39         depends_lib-append port:okular
     34post-extract {
     35        file mkdir ${worksrcpath}/build
    4036}
    4137
    42 if {${configure.compiler} == "clang"} {
    43         # force the use of gcc 4.8 to be able to link with R-framework
    44         depends_lib-append   port:gcc48
    45         configure.compiler   macports-gcc-4.8
    46         configure.objc       /usr/bin/gcc
    47         configure.env-append "OBJCXX=${configure.objc}"
    48 }
    49 
    50 post-extract {
    51         # creates the build dir if it doesn't exist
    52         # this won't return errors if directory is already there
    53         file mkdir ${worksrcdir}/build
    54 }
    55 
    56 configure.dir       ${worksrcdir}/build
     38configure.dir       ${worksrcpath}/build
    5739configure.args-append \
    5840        -DNO_R_XML=1 \
    5941        -DRKVERSION_NUMBER=${version} \
    6042        -DBUNDLE_INSTALL_DIR=${applications_dir} \
    61         -DR_EXECUTABLE=${prefix}/Library/Frameworks/R.framework/Resources/R
    62 # work around moved Qt include dir
    63 if { ![file exists ${prefix}/include/Qt/qglobal.h] && [file exists ${prefix}/include/QtCore/qglobal.h] } {
    64         configure.args-append -DQT_QT_INCLUDE_DIR=${prefix}/include/QtCore
     43        -DR_EXECUTABLE=${frameworks_dir}/R.framework/Resources/R
     44
     45variant debug description {Add full debugging support} {
     46        depends_lib-append port:valgrind
    6547}
    66 configure.cmd       cmake ..
    6748
    68 build.dir           ${worksrcdir}/build
     49configure.post_args ..
     50
     51build.dir           ${worksrcpath}/build
     52
Note: See TracChangeset for help on using the changeset viewer.