| 1 | # $Id$ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name FScript |
|---|
| 5 | version 1.3.5 |
|---|
| 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 | set srcdistdate 20070421 |
|---|
| 18 | |
|---|
| 19 | homepage http://www.fscript.org |
|---|
| 20 | platforms macosx |
|---|
| 21 | master_sites http://www.fscript.org/download |
|---|
| 22 | distfiles FScriptSources-${srcdistdate}.tar.gz |
|---|
| 23 | checksums md5 1e06058c63a7b7e8f8d54eb72efdb5d4 |
|---|
| 24 | |
|---|
| 25 | worksrcdir FScriptSources-${srcdistdate}/FScript |
|---|
| 26 | use_configure no |
|---|
| 27 | |
|---|
| 28 | set pkgname F-Script |
|---|
| 29 | |
|---|
| 30 | build.type pbx |
|---|
| 31 | build.target -target ${pkgname} -target FScriptFramework -target FScriptPalette \ |
|---|
| 32 | -target FSTest1 -target FSTest2 -target TigerAndLaterOnly \ |
|---|
| 33 | -configuration Deployment |
|---|
| 34 | build.args build -project FScript.xcodeproj |
|---|
| 35 | |
|---|
| 36 | set xcodebuilddir build |
|---|
| 37 | platform darwin 8 { |
|---|
| 38 | if {$xcodeversion == "2.1"} { |
|---|
| 39 | set xcodebuilddir build/Deployment |
|---|
| 40 | } |
|---|
| 41 | } |
|---|
| 42 | |
|---|
| 43 | platform darwin 9 { |
|---|
| 44 | set xcodebuilddir build/Deployment |
|---|
| 45 | } |
|---|
| 46 | |
|---|
| 47 | destroot { |
|---|
| 48 | # Applications |
|---|
| 49 | xinstall -d -m 755 ${destroot}/Applications/MacPorts/F-Script |
|---|
| 50 | file copy ${build.dir}/${xcodebuilddir}/${pkgname}.app \ |
|---|
| 51 | ${destroot}/Applications/MacPorts/F-Script/${pkgname}.app |
|---|
| 52 | file copy ${build.dir}/${xcodebuilddir}/FSTest1.app \ |
|---|
| 53 | ${destroot}/Applications/MacPorts/F-Script/FSTest1.app |
|---|
| 54 | file copy ${build.dir}/${xcodebuilddir}/FSTest2.app \ |
|---|
| 55 | ${destroot}/Applications/MacPorts/F-Script/FSTest2.app |
|---|
| 56 | |
|---|
| 57 | # Frameworks |
|---|
| 58 | xinstall -d -m 755 ${destroot}/Library/Frameworks/ |
|---|
| 59 | file copy ${build.dir}/${xcodebuilddir}/${name}.framework \ |
|---|
| 60 | ${destroot}/Library/Frameworks/ |
|---|
| 61 | xinstall -d -m 755 ${destroot}/Developer/Palettes/ |
|---|
| 62 | file copy ${build.dir}/${xcodebuilddir}/${name}Palette.palette \ |
|---|
| 63 | ${destroot}/Developer/Palettes/${name}Palette.palette |
|---|
| 64 | } |
|---|