1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | |
---|
6 | name R-app |
---|
7 | version 1.51 |
---|
8 | categories math science aqua |
---|
9 | maintainers epfl.ch:kjell.konis |
---|
10 | |
---|
11 | description R GUI for Mac OS X |
---|
12 | long_description ${description} |
---|
13 | |
---|
14 | homepage http://R.research.att.com/ |
---|
15 | platforms macosx |
---|
16 | |
---|
17 | fetch.type svn |
---|
18 | svn.url https://svn.r-project.org/R-packages/trunk/Mac-GUI |
---|
19 | svn.method checkout |
---|
20 | svn.revision 6148 |
---|
21 | |
---|
22 | post-patch { |
---|
23 | reinplace "s|/Library/Frameworks/R.framework|${frameworks_dir}/R.framework|g" \ |
---|
24 | ${worksrcpath}/R.xcodeproj/project.pbxproj |
---|
25 | } |
---|
26 | |
---|
27 | use_configure no |
---|
28 | |
---|
29 | depends_lib port:R-framework |
---|
30 | |
---|
31 | universal_variant no |
---|
32 | |
---|
33 | worksrcdir Mac-GUI |
---|
34 | |
---|
35 | xcode.project R.xcodeproj |
---|
36 | xcode.configuration Leopard64 |
---|
37 | xcode.target R |
---|
38 | xcode.build.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} GCC_VERSION=com.apple.compilers.llvmgcc42 |
---|
39 | xcode.destroot.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} GCC_VERSION=com.apple.compilers.llvmgcc42 |
---|
40 | |
---|
41 | post-destroot { |
---|
42 | reinplace "s|%SVN%|${svn.revision}|g" ${destroot}${applications_dir}/R.app/Contents/Info.plist |
---|
43 | file delete ${destroot}${applications_dir}/sush |
---|
44 | } |
---|
45 | |
---|
46 | |
---|
47 | |
---|