1 | # $Id: Portfile,v 1.2 2005/04/08 21:38:38 waqar Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name FScript |
---|
5 | version 1.3.3 |
---|
6 | categories aqua lang |
---|
7 | maintainers bfulgham@mac.com |
---|
8 | description Open-source interactive Cocoa scripting environment |
---|
9 | long_description \ |
---|
10 | F-Script is an open-source interactive and scripting environment \ |
---|
11 | for Cocoa. Based on Smalltalk, F-Script provides a pure object- \ |
---|
12 | oriented environment that leverages Mac OS X technologies and \ |
---|
13 | frameworks. It aims to be a useful and fun tool for both \ |
---|
14 | beginners and experts, allowing interactively exploring, testing \ |
---|
15 | and using Cocoa-based objects and frameworks. |
---|
16 | |
---|
17 | homepage http://www.fscript.org |
---|
18 | platforms macosx |
---|
19 | master_sites http://www.fscript.org/download |
---|
20 | distfiles FScriptSources-20060604.tar.gz |
---|
21 | checksums md5 1dedf4f720567caf4a2cbfbccb6a2d41 |
---|
22 | |
---|
23 | worksrcdir FScriptSources-20060604/FScript |
---|
24 | use_configure no |
---|
25 | |
---|
26 | set pkgname F-Script |
---|
27 | |
---|
28 | build.type pbx |
---|
29 | build.target -target ${pkgname} -target FScriptFramework -target FScriptPalette \ |
---|
30 | -target FSTest1 -target FSTest2 -target TigerAndLaterOnly \ |
---|
31 | -configuration Deployment |
---|
32 | build.args build -project FScript.xcodeproj |
---|
33 | |
---|
34 | set xcodebuilddir build |
---|
35 | platform darwin 8 { |
---|
36 | if {$xcodeversion == "2.1"} { |
---|
37 | set xcodebuilddir build/Deployment |
---|
38 | } |
---|
39 | } |
---|
40 | |
---|
41 | destroot { |
---|
42 | # Applications |
---|
43 | xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/F-Script |
---|
44 | file copy ${build.dir}/${xcodebuilddir}/${pkgname}.app \ |
---|
45 | ${destroot}/Applications/DarwinPorts/F-Script/${pkgname}.app |
---|
46 | file copy ${build.dir}/${xcodebuilddir}/FSTest1.app \ |
---|
47 | ${destroot}/Applications/DarwinPorts/F-Script/FSTest1.app |
---|
48 | file copy ${build.dir}/${xcodebuilddir}/FSTest2.app \ |
---|
49 | ${destroot}/Applications/DarwinPorts/F-Script/FSTest2.app |
---|
50 | |
---|
51 | # Frameworks |
---|
52 | xinstall -d -m 755 ${destroot}${prefix}/Library/Frameworks/ |
---|
53 | file copy ${build.dir}/${xcodebuilddir}/${name}.framework \ |
---|
54 | ${destroot}${prefix}/Library/Frameworks/ |
---|
55 | xinstall -d -m 755 ${destroot}/Developer/Palettes/ |
---|
56 | file copy ${build.dir}/${xcodebuilddir}/${name}Palette.palette \ |
---|
57 | ${destroot}/Applications/DarwinPorts/F-Script/${name}Palette.palette |
---|
58 | } |
---|
59 | |
---|
60 | post-activate { |
---|
61 | # Link to where X-Code can find it |
---|
62 | system "ln -sf /Applications/DarwinPorts/F-Script/${name}Palette.palette /Developer/Palettes/${name}Palette.palette" |
---|
63 | } |
---|