Ticket #38917: Portfile.diff

File Portfile.diff, 1.5 KB (added by kjellpk (Kjell Konis), 11 years ago)
  • Portfile

    old new  
    55PortGroup xcode 1.0
    66
    77name                    R-app
    8 version                 1.53
     8version                 1.60
    99categories              math science aqua
    1010maintainers             me.com:kjell.konis
    1111license                 GPL-2+
     
    1919fetch.type              svn
    2020svn.url                 https://svn.r-project.org/R-packages/trunk/Mac-GUI
    2121svn.method              checkout
    22 svn.revision            6335
     22svn.revision            6476
    2323
    2424post-patch {
    2525    reinplace "s|/Library/Frameworks/R.framework|${frameworks_dir}/R.framework|g" \
     
    2828
    2929use_configure           no
    3030
    31 depends_lib             port:R-framework
     31depends_lib             port:R
    3232
    3333universal_variant       no
    3434
    3535worksrcdir              Mac-GUI
    3636
    37 # R-app does not yet build with clang
    38 if {${configure.compiler} == "clang"} {
    39     configure.compiler  llvm-gcc-4.2
    40 }
    41 
    4237xcode.project           R.xcodeproj
    4338xcode.target            R
    44 xcode.configuration     Deployment64
     39
     40if {${os.major} == "11"} {
     41  xcode.configuration     Lion64
     42} elseif {${os.major} == "12"} {
     43  xcode.configuration     MLion64
     44} else {
     45  xcode.configuration     SnowLeopard64
     46}
     47
    4548xcode.build.settings    FRAMEWORK_SEARCH_PATHS=${frameworks_dir}
    4649xcode.destroot.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir}
    4750