1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup xcode 1.0 |
---|
5 | |
---|
6 | name FScript |
---|
7 | version 2.0.1 |
---|
8 | categories aqua lang |
---|
9 | platforms darwin |
---|
10 | maintainers mac.com:bfulgham |
---|
11 | |
---|
12 | description Open-source interactive Cocoa scripting environment |
---|
13 | long_description F-Script is an open-source interactive and scripting \ |
---|
14 | environment for Cocoa. Based on Smalltalk, F-Script \ |
---|
15 | provides a pure object-oriented environment that \ |
---|
16 | leverages Mac OS X technologies and frameworks. It \ |
---|
17 | aims to be a useful and fun tool for both beginners \ |
---|
18 | and experts, allowing interactively exploring, testing \ |
---|
19 | and using Cocoa-based objects and frameworks. |
---|
20 | |
---|
21 | homepage http://www.fscript.org |
---|
22 | |
---|
23 | fetch.type git |
---|
24 | git.url git://github.com/pmougin/F-Script |
---|
25 | git.branch 9f46645527bd47cdaae9f1211e282571b4667603 |
---|
26 | |
---|
27 | xcode.target FScriptFramework F-Script FScriptIBPlugin |
---|
28 | xcode.destroot.settings SKIP_INSTALL=NO |
---|
29 | |
---|
30 | destroot.violate_mtree yes |
---|
31 | |
---|
32 | variant without_ibplugin description "Disable Interface Builder Plug-in" { |
---|
33 | xcode.target-delete FScriptIBPlugin |
---|
34 | destroot.violate_mtree no |
---|
35 | } |
---|
36 | |
---|
37 | set ibplugin_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/Library/Interface Builder/Plug-ins" |
---|
38 | |
---|
39 | post-destroot { |
---|
40 | delete ${destroot}/${applications_dir}/FSTest1.app |
---|
41 | delete ${destroot}/${applications_dir}/FSTest2.app |
---|
42 | file rename ${destroot}/${applications_dir}/FScript.framework ${destroot}/${frameworks_dir}/ |
---|
43 | if { ![variant_isset without_ibplugin] } { |
---|
44 | xinstall -d -m 755 ${destroot}/${ibplugin_dir} |
---|
45 | file rename ${destroot}/${applications_dir}/FScriptIBPlugin.ibplugin ${destroot}/${ibplugin_dir} |
---|
46 | } |
---|
47 | } |
---|