1 | # $Id:$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name slang2 |
---|
6 | set my_name slang |
---|
7 | set milestone 2.1 |
---|
8 | set patchlevel 3 |
---|
9 | version ${milestone}.${patchlevel} |
---|
10 | categories lang devel |
---|
11 | platforms darwin |
---|
12 | maintainers nomaintainer |
---|
13 | description multi-platform programmer's library |
---|
14 | |
---|
15 | long_description \ |
---|
16 | S-Lang is a multi-platform programmer's library designed to \ |
---|
17 | allow a developer to create robust multi-platform software. \ |
---|
18 | It provides facilities required by interactive applications \ |
---|
19 | such as display/screen management, keyboard input, keymaps, \ |
---|
20 | and so on. The most exciting feature of the library is the \ |
---|
21 | slang interpreter that may be easily embedded into a program \ |
---|
22 | to make it extensible. |
---|
23 | |
---|
24 | homepage http://www.s-lang.org/ |
---|
25 | platform darwin |
---|
26 | master_sites ftp://space.mit.edu/pub/davis/slang/v${milestone}/ \ |
---|
27 | ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${milestone}/ \ |
---|
28 | ftp://ftp.ntua.gr/pub/lang/slang/slang/v${milestone}/ \ |
---|
29 | ftp://ftp.plig.org/pub/slang/v${milestone}/ |
---|
30 | distname ${my_name}-${version} |
---|
31 | checksums md5 da66de9579c4e2986b0285848f595c53 |
---|
32 | |
---|
33 | depends_lib port:libiconv \ |
---|
34 | port:libpng \ |
---|
35 | port:pcre \ |
---|
36 | port:zlib |
---|
37 | test.run yes |
---|
38 | test.target check |
---|
39 | |
---|
40 | destroot.args install_doc_dir=${prefix}/share/doc/${my_name}-${version} \ |
---|
41 | SLSH_DOC_DIR=${prefix}/share/doc/slsh-${version} |
---|
42 | |
---|
43 | post-destroot { |
---|
44 | foreach {lib} [eval list [glob -type f ${destroot}${prefix}/lib/*.dylib] \ |
---|
45 | [glob ${destroot}${prefix}/lib/slang/v2/modules/*.so]] { |
---|
46 | file attributes ${lib} -permissions 0755 |
---|
47 | } |
---|
48 | } |
---|
49 | |
---|
50 | livecheck.check regex |
---|
51 | livecheck.regex {S-Lang (\d+(?:\.\d+)*)} |
---|
52 | |
---|