Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

root/trunk/dports/aqua/FScript/Portfile

Revision 26675, 2.0 KB (checked in by bfulgham@…, 18 months ago)

Small update to support builds on Leopard.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1# $Id$
2
3PortSystem 1.0
4name            FScript
5version         1.3.5
6categories      aqua lang
7maintainers     bfulgham@mac.com
8description     Open-source interactive Cocoa scripting environment
9long_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
17set srcdistdate 20070421
18
19homepage        http://www.fscript.org
20platforms       macosx
21master_sites    http://www.fscript.org/download
22distfiles       FScriptSources-${srcdistdate}.tar.gz
23checksums       md5 1e06058c63a7b7e8f8d54eb72efdb5d4
24
25worksrcdir      FScriptSources-${srcdistdate}/FScript
26use_configure   no
27
28set pkgname     F-Script
29
30build.type      pbx
31build.target    -target ${pkgname} -target FScriptFramework -target FScriptPalette \
32                -target FSTest1 -target FSTest2 -target TigerAndLaterOnly \
33                -configuration Deployment
34build.args      build -project FScript.xcodeproj
35
36set xcodebuilddir       build
37platform darwin 8       {
38        if {$xcodeversion == "2.1"} {
39                set xcodebuilddir       build/Deployment
40        }
41}
42
43platform darwin 9       {
44        set xcodebuilddir       build/Deployment
45}
46
47destroot        {
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}
Note: See TracBrowser for help on using the browser.