source: trunk/dports/aqua/FScript/Portfile @ 45908

Last change on this file since 45908 was 45908, checked in by blb@…, 11 years ago

aqua/FScript - fix case issue with include file, ticket #18129 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# $Id: Portfile 45908 2009-01-25 00:43:22Z blb@macports.org $
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
26
27post-extract {
28        reinplace "s|Cocoa/cocoa.h|Cocoa/Cocoa.h|" ${worksrcpath}/F-Script/FScriptAppController.h
29}
30
31use_configure   no
32
33set pkgname     F-Script
34
35build.type      pbx
36build.target    -target ${pkgname} -target FScriptFramework -target FScriptPalette \
37                -target FSTest1 -target FSTest2 -target TigerAndLaterOnly \
38                -configuration Deployment
39build.args      build -project FScript.xcodeproj
40
41set xcodebuilddir       build
42platform darwin 8       {
43        if {$xcodeversion == "2.1"} {
44                set xcodebuilddir       build/Deployment
45        }
46}
47
48platform darwin 9       {
49        set xcodebuilddir       build/Deployment
50}
51
52destroot        {
53        # Applications
54        xinstall -d -m 755 ${destroot}/Applications/MacPorts/F-Script
55        file copy ${build.dir}/${xcodebuilddir}/${pkgname}.app \
56                ${destroot}/Applications/MacPorts/F-Script/${pkgname}.app
57        file copy ${build.dir}/${xcodebuilddir}/FSTest1.app \
58                ${destroot}/Applications/MacPorts/F-Script/FSTest1.app
59        file copy ${build.dir}/${xcodebuilddir}/FSTest2.app \
60                ${destroot}/Applications/MacPorts/F-Script/FSTest2.app
61
62        # Frameworks
63        xinstall -d -m 755 ${destroot}/Library/Frameworks/
64        file copy ${build.dir}/${xcodebuilddir}/${name}.framework \
65                ${destroot}/Library/Frameworks/
66        xinstall -d -m 755 ${destroot}/Developer/Palettes/
67        file copy ${build.dir}/${xcodebuilddir}/${name}Palette.palette \
68                ${destroot}/Developer/Palettes/${name}Palette.palette
69}
Note: See TracBrowser for help on using the repository browser.