# $Id: Portfile,v 1.2 2005/04/08 21:38:38 waqar Exp $ PortSystem 1.0 name FScript version 1.3.4 categories aqua lang maintainers bfulgham@mac.com description Open-source interactive Cocoa scripting environment long_description \ F-Script is an open-source interactive and scripting environment \ for Cocoa. Based on Smalltalk, F-Script provides a pure object- \ oriented environment that leverages Mac OS X technologies and \ frameworks. It aims to be a useful and fun tool for both \ beginners and experts, allowing interactively exploring, testing \ and using Cocoa-based objects and frameworks. homepage http://www.fscript.org platforms macosx master_sites http://www.fscript.org/download distfiles FScriptSources-20060707.tar.gz checksums md5 4efe5679a297e081b888768cf645ec3c worksrcdir FScriptSources-20060707/FScript use_configure no set pkgname F-Script build.type pbx build.target -target ${pkgname} -target FScriptFramework -target FScriptPalette \ -target FSTest1 -target FSTest2 -target TigerAndLaterOnly \ -configuration Deployment build.args build -project FScript.xcodeproj set xcodebuilddir build platform darwin 8 { if {$xcodeversion == "2.1"} { set xcodebuilddir build/Deployment } } destroot { # Applications xinstall -d -m 755 ${destroot}/Applications/DarwinPorts/F-Script file copy ${build.dir}/${xcodebuilddir}/${pkgname}.app \ ${destroot}/Applications/DarwinPorts/F-Script/${pkgname}.app file copy ${build.dir}/${xcodebuilddir}/FSTest1.app \ ${destroot}/Applications/DarwinPorts/F-Script/FSTest1.app file copy ${build.dir}/${xcodebuilddir}/FSTest2.app \ ${destroot}/Applications/DarwinPorts/F-Script/FSTest2.app # Frameworks xinstall -d -m 755 ${destroot}/Library/Frameworks/ file copy ${build.dir}/${xcodebuilddir}/${name}.framework \ ${destroot}/Library/Frameworks/ xinstall -d -m 755 ${destroot}/Developer/Palettes/ file copy ${build.dir}/${xcodebuilddir}/${name}Palette.palette \ ${destroot}/Developer/Palettes/${name}Palette.palette }