Ticket #21635: Portfile

File Portfile, 1.9 KB (added by mklein-de (Michael Klein), 15 years ago)
Line 
1# $Id$
2
3PortSystem              1.0
4PortGroup               xcode 1.0
5
6name                    FScript
7version                 2.0.1
8categories              aqua lang
9platforms               darwin
10maintainers             mac.com:bfulgham
11
12description             Open-source interactive Cocoa scripting environment
13long_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
21homepage                http://www.fscript.org
22
23fetch.type              git
24git.url                 git://github.com/pmougin/F-Script
25git.branch              9f46645527bd47cdaae9f1211e282571b4667603
26
27xcode.target            FScriptFramework F-Script FScriptIBPlugin
28xcode.destroot.settings SKIP_INSTALL=NO
29
30destroot.violate_mtree  yes
31
32variant without_ibplugin description "Disable Interface Builder Plug-in" {
33        xcode.target-delete FScriptIBPlugin
34        destroot.violate_mtree no
35}
36
37set ibplugin_dir "${developer_dir}/Platforms/MacOSX.platform/Developer/Library/Interface Builder/Plug-ins"
38
39post-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}