1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name icon |
---|
6 | version 9.4.3 |
---|
7 | categories lang |
---|
8 | maintainers michael.grunewald@laposte.net |
---|
9 | description The Icon Programming Language |
---|
10 | long_description Icon is a high-level, general-purpose programming \ |
---|
11 | language with a large repertoire of features for \ |
---|
12 | processing data structures and character strings. \ |
---|
13 | Icon is an imperative, procedural language with a \ |
---|
14 | syntax reminiscent of C and Pascal, but with \ |
---|
15 | semantics at a much higher level. |
---|
16 | homepage http://www.cs.arizona.edu/icon/ |
---|
17 | platforms darwin |
---|
18 | master_sites http://www.cs.arizona.edu/icon/ftp/packages/unix/ |
---|
19 | distfiles icon.v943src.tgz |
---|
20 | checksums md5 4740b1fc5caf2fe7409367923dffe607 \ |
---|
21 | sha1 92bd3347807b333fb903edf61a2805f2e1159577 \ |
---|
22 | rmd160 af75af7f106920cd59a7f8ac85954aa472ae78e7 |
---|
23 | |
---|
24 | worksrcdir icon.v943src |
---|
25 | |
---|
26 | # |
---|
27 | # Operations |
---|
28 | # |
---|
29 | |
---|
30 | configure { |
---|
31 | cd ${worksrcpath} |
---|
32 | system "make X-Configure name=macintosh" |
---|
33 | } |
---|
34 | |
---|
35 | build.target All |
---|
36 | |
---|
37 | destroot { |
---|
38 | set icon_dir "${destroot}${prefix}/libexec/${name}" |
---|
39 | set iconbin_dir "../libexec/${name}/bin" |
---|
40 | set icondoc_dir "../libexec/${name}/doc" |
---|
41 | set portbin_dir "${destroot}${prefix}/bin" |
---|
42 | set portdoc_dir "${destroot}${prefix}/share/doc" |
---|
43 | xinstall -d "${portbin_dir}" |
---|
44 | xinstall -d "${portdoc_dir}" |
---|
45 | cd ${worksrcpath} |
---|
46 | system "make Install dest=${icon_dir}" |
---|
47 | cd "${portbin_dir}" |
---|
48 | system "ln -s ${iconbin_dir}/icon" |
---|
49 | system "ln -s ${iconbin_dir}/icont" |
---|
50 | system "ln -s ${iconbin_dir}/iconx" |
---|
51 | system "ln -s ${iconbin_dir}/vib" |
---|
52 | cd "${portdoc_dir}" |
---|
53 | system "ln -s ${icondoc_dir} ${name}-${version}" |
---|
54 | } |
---|