1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | |
---|
6 | name R-app |
---|
7 | version 1.42 |
---|
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 5933 |
---|
21 | |
---|
22 | post-patch { |
---|
23 | reinplace "s|unknown|MacPorts|g" ${worksrcpath}/InfoPlist.h |
---|
24 | |
---|
25 | reinplace "s|/Library/Frameworks/R.framework|${frameworks_dir}/R.framework|g" \ |
---|
26 | ${worksrcpath}/R.xcodeproj/project.pbxproj |
---|
27 | } |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | depends_lib port:R-framework |
---|
32 | |
---|
33 | universal_variant no |
---|
34 | |
---|
35 | worksrcdir Mac-GUI |
---|
36 | |
---|
37 | xcode.project R.xcodeproj |
---|
38 | xcode.configuration Deployment64 |
---|
39 | xcode.target R |
---|
40 | xcode.build.settings FRAMEWORK_SEARCH_PATHS=${frameworks_dir} |
---|
41 | xcode.destroot.settings ${xcode.build.settings} |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | reinplace "s|%SVN%|${svn.revision}|g" ${destroot}${applications_dir}/R.app/Contents/Info.plist |
---|
45 | file delete ${destroot}${applications_dir}/sush |
---|
46 | } |
---|
47 | |
---|
48 | |
---|
49 | |
---|