1 | # -*- coding: utf-8; mode: tcl; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name icon |
---|
7 | version 9.5.1 |
---|
8 | revision 0 |
---|
9 | categories lang |
---|
10 | maintainers laposte.net:michael.grunewald |
---|
11 | description The Icon Programming Language |
---|
12 | long_description Icon is a high-level, general-purpose programming \ |
---|
13 | language with a large repertoire of features for \ |
---|
14 | processing data structures and character strings. \ |
---|
15 | Icon is an imperative, procedural language with a \ |
---|
16 | syntax reminiscent of C and Pascal, but with \ |
---|
17 | semantics at a much higher level. |
---|
18 | homepage http://www.cs.arizona.edu/icon/ |
---|
19 | platforms darwin |
---|
20 | master_sites ${homepage}ftp/packages/unix/ |
---|
21 | distname icon-v[strsed ${version} {g/\.//}]src |
---|
22 | extract.suffix .tgz |
---|
23 | checksums \ |
---|
24 | md5 8fdeb7c5408d9d9bf06bc5e7f4f54498 \ |
---|
25 | sha1 21b122e3b4abf75a9248d0c52b9fa06899ac97fb \ |
---|
26 | rmd160 b72481675a6961e609ad6adabc9abd37474eebc3 |
---|
27 | |
---|
28 | universal_variant no |
---|
29 | use_parallel_build no |
---|
30 | |
---|
31 | configure.cmd make |
---|
32 | configure.pre_args |
---|
33 | |
---|
34 | if {[file exists /usr/X11R6/include/X11/Core.h]} { |
---|
35 | default_variants +x11 |
---|
36 | } else { |
---|
37 | default_variants -x11 |
---|
38 | } |
---|
39 | |
---|
40 | configure.args Configure name=macintosh |
---|
41 | |
---|
42 | variant x11 description {Enable X11 Graphics Support} { |
---|
43 | configure.args X-Configure name=macintosh |
---|
44 | } |
---|
45 | |
---|
46 | build.target All |
---|
47 | |
---|
48 | destroot.target Install |
---|
49 | destroot.destdir dest=${destroot}${prefix}/libexec/${name} |
---|
50 | |
---|
51 | post-destroot { |
---|
52 | foreach prog {icon icont iconx vib} { |
---|
53 | ln -s ../libexec/${name}/bin/${prog} ${destroot}${prefix}/bin |
---|
54 | } |
---|
55 | set doc_dir ${destroot}${prefix}/share/doc |
---|
56 | xinstall -d ${doc_dir} |
---|
57 | ln -s ../../libexec/${name}/doc ${doc_dir}/${name}-${version} |
---|
58 | set man1_dir ${destroot}${prefix}/share/man/man1 |
---|
59 | xinstall -d ${man1_dir} |
---|
60 | ln -s ../../../libexec/${name}/man/man1/icon.1 ${man1_dir} |
---|
61 | ln -s ../../../libexec/${name}/man/man1/icont.1 ${man1_dir} |
---|
62 | } |
---|
63 | |
---|
64 | livecheck.type regex |
---|
65 | livecheck.url ${homepage}status.htm |
---|
66 | livecheck.regex Version (\[0-9.\]+) |
---|