Ticket #39188: R-app.Portfile.diff
File R-app.Portfile.diff, 2.0 KB (added by kjellpk (Kjell Konis), 11 years ago) |
---|
-
Portfile
old new 5 5 PortGroup xcode 1.0 6 6 7 7 name R-app 8 version 1.6 08 version 1.61 9 9 categories math science aqua 10 10 maintainers me.com:kjell.konis 11 11 license GPL-2+ … … 17 17 platforms macosx 18 18 supported_archs x86_64 19 19 20 fetch.type svn 21 svn.url https://svn.r-project.org/R-packages/trunk/Mac-GUI 22 svn.method checkout 23 svn.revision 6476 20 master_sites http://cran.us.r-project.org/bin/macosx/ \ 21 http://cran.ms.unimelb.edu.au/bin/macosx/ \ 22 http://cran.at.r-project.org/bin/macosx/ \ 23 http://cran.hu.r-project.org/bin/macosx/ \ 24 http://cran.r-project.org/bin/macosx/ 25 26 distname Mac-GUI-${version} 27 28 checksums rmd160 9191033fb445fd9e314f389f9ec7723eac02da7c \ 29 sha256 5cb3f78408a9613eca1f311ba014521c74dbbbfea169659a793b9734a9d06540 24 30 25 31 post-patch { 26 32 reinplace "s|/Library/Frameworks/R.framework|${frameworks_dir}/R.framework|g" \ … … 33 39 34 40 universal_variant no 35 41 36 worksrcdir Mac-GUI37 38 42 xcode.project R.xcodeproj 39 43 xcode.target R 40 41 if {${os.major} == "11"} { 42 xcode.configuration Lion64 43 } elseif {${os.major} == "12"} { 44 xcode.configuration MLion64 45 } else { 46 xcode.configuration SnowLeopard64 47 } 44 xcode.configuration SnowLeopard64 48 45 49 46 xcode.build.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} 50 47 xcode.destroot.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} 51 48 52 49 post-destroot { 53 reinplace "s|%SVN%|${svn.revision}|g" ${destroot}${applications_dir}/R.app/Contents/Info.plist54 50 delete ${destroot}${applications_dir}/sush 55 51 } 56 52