1 | # $Id: Portfile,v 1.2 2005/02/23 12:18:44 mww Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name iofull |
---|
6 | version 2006-04-20 |
---|
7 | categories lang |
---|
8 | platforms darwin |
---|
9 | maintainers bfulgham@mac.com |
---|
10 | description Io is small prototype-based programming language |
---|
11 | long_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). |
---|
17 | depends_build bin:gmake:gmake bin:autoconf:autoconf |
---|
18 | depends_lib lib:libz.1:zlib port:pcre port:sqlite lib:freetype:freetype port:jpeg \ |
---|
19 | port:libpng port:tiff |
---|
20 | |
---|
21 | homepage http://www.iolanguage.com/ |
---|
22 | master_sites http://io.urbanape.com/release/ \ |
---|
23 | http://www.sigusr1.org/~steve/ |
---|
24 | distname IoFull-${version} |
---|
25 | checksums md5 f6dabb737690516b2a3b1de5d6750f05 |
---|
26 | |
---|
27 | extract.post_args "| tar -xf - --exclude '_old'" |
---|
28 | |
---|
29 | patch { |
---|
30 | file mkdir ${worksrcpath} |
---|
31 | system "mv ${worksrcpath}/../release/${distname}/* ${worksrcpath}" |
---|
32 | } |
---|
33 | |
---|
34 | use_configure no |
---|
35 | |
---|
36 | build.cmd cd vm && make |
---|
37 | |
---|
38 | destroot { |
---|
39 | system "cd ${worksrcpath} && vm/io _build.io" |
---|
40 | } |
---|
41 | |
---|
42 | |
---|
43 | post-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 | } |
---|