Ticket #38300: R-app.Portfile.diff
File R-app.Portfile.diff, 1.5 KB (added by kjellpk (Kjell Konis), 12 years ago) |
---|
-
Portfile
old new 6 6 7 7 name R-app 8 8 version 1.53 9 revision 1 9 10 categories math science aqua 10 11 maintainers me.com:kjell.konis 11 12 license GPL-2+ … … 19 20 fetch.type svn 20 21 svn.url https://svn.r-project.org/R-packages/trunk/Mac-GUI 21 22 svn.method checkout 22 svn.revision 6 33523 svn.revision 6451 23 24 24 25 post-patch { 25 26 reinplace "s|/Library/Frameworks/R.framework|${frameworks_dir}/R.framework|g" \ … … 34 35 35 36 worksrcdir Mac-GUI 36 37 37 # R-app does not yet build with clang38 if {${configure.compiler} == "clang"} {39 configure.compiler llvm-gcc-4.240 }41 42 38 xcode.project R.xcodeproj 43 39 xcode.target R 44 xcode.configuration Deployment64 40 41 if {${os.major} == "10"} { 42 if {${build_arch} == "i386"} { 43 xcode.configuration SnowLeopard 44 } else { 45 xcode.configuration SnowLeopard64 46 } 47 } elseif {${os.major} == "11"} { 48 xcode.configuration Lion64 49 } elseif {${os.major} == "12"} { 50 xcode.configuration MLion64 51 } else { 52 ui_error "R.app is not supported on this platform." 53 return -code error 54 } 55 45 56 xcode.build.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} 46 57 xcode.destroot.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} 47 58