Ticket #8638: Portfile

File Portfile, 1.8 KB (added by bfulgham@…, 19 years ago)

Io language full runtime (with bindings)

Line 
1# $Id: Portfile,v 1.2 2005/02/23 12:18:44 mww Exp $
2
3PortSystem 1.0
4
5name                    iofull
6version                 2006-04-20
7categories              lang
8platforms               darwin
9maintainers             bfulgham@mac.com
10description             Io is small prototype-based programming language
11long_description        Io is small prototype-based programming language. The \
12                                ideas in Io are mostly inspired by Smalltalk (all values are \
13                                objects), Self, NewtonScript and Act1 (prototype-based \
14                                differential inheritance, actors and futures for concurrency), \
15                                LISP (code is a runtime inspectable/modifiable tree) and Lua \
16                                (small, embeddable).
17depends_build           bin:gmake:gmake bin:autoconf:autoconf
18depends_lib             lib:libz.1:zlib port:pcre port:sqlite lib:freetype:freetype port:jpeg \
19                        port:libpng port:tiff
20
21homepage                http://www.iolanguage.com/
22master_sites    http://io.urbanape.com/release/ \
23                                http://www.sigusr1.org/~steve/
24distname                IoFull-${version}
25checksums               md5 f6dabb737690516b2a3b1de5d6750f05
26
27extract.post_args  "| tar -xf - --exclude '_old'"
28
29patch   {
30        file mkdir ${worksrcpath}
31        system "mv ${worksrcpath}/../release/${distname}/* ${worksrcpath}"
32}
33
34use_configure   no
35
36build.cmd cd vm && make
37
38destroot        {
39        system "cd ${worksrcpath} && vm/io _build.io"
40}
41
42
43post-destroot   {
44        xinstall -m 755 -d ${destroot}${prefix}/share/doc
45        file delete -force ${destroot}${prefix}/lib
46        file copy ${worksrcpath}/vm/io ${destroot}${prefix}/bin
47        file copy ${worksrcpath}/vm/io2c ${destroot}${prefix}/bin
48        file copy ${worksrcpath}/binaries/ioServer ${destroot}${prefix}/bin
49        file copy ${worksrcpath}/binaries/ioDesktop ${destroot}${prefix}/bin
50        file copy ${worksrcpath}/vm/_include ${destroot}${prefix}/include/iovm
51        file copy ${worksrcpath}/vm/_libs ${destroot}${prefix}/lib
52        file copy ${worksrcpath}/_docs ${destroot}${prefix}/share/doc/${name}
53        file copy ${worksrcpath}/vm/_sampleCode ${destroot}${prefix}/share/doc/${name}/examples
54}