source: trunk/dports/lang/slang2/Portfile

Last change on this file was 115019, checked in by ryandesign@…, 4 years ago

revbump ports depending on libpng following libpng 1.6.x update (#41842)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 115019 2013-12-22 09:29:46Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            slang2
6conflicts       slang
7set my_name     slang
8version         2.2.4
9revision        3
10set branch      [join [lrange [split ${version} .] 0 1] .]
11categories      lang devel
12license         GPL-2+
13platforms       darwin
14maintainers     nomaintainer
15description     multi-platform programmer's library
16
17long_description \
18    S-Lang is a multi-platform programmer's library designed to \
19    allow a developer to create robust multi-platform software. \
20    It provides facilities required by interactive applications \
21    such as display/screen management, keyboard input, keymaps, \
22    and so on. The most exciting feature of the library is the \
23    slang interpreter that may be easily embedded into a program \
24    to make it extensible.
25
26homepage        http://www.jedsoft.org/slang/
27master_sites    ftp://space.mit.edu/pub/davis/slang/v${branch}/ \
28                ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${branch}/ \
29                http://ftp.ntua.gr/pub/lang/slang/slang/v${branch}/ \
30                ftp://ftp.plig.org/pub/slang/v${branch}/
31distname        ${my_name}-${version}
32use_bzip2       yes
33
34checksums       rmd160  fc023080f021201a99263d686ab4a8b87bbb575a \
35                sha256  9a8257a9a2a55099af858b13338dc8f3a06dd2069f46f0df2c9c3bb84a01d5db
36
37depends_lib     port:libiconv \
38                port:libpng \
39                port:pcre \
40                port:zlib
41
42use_parallel_build  no
43
44test.run        yes
45test.target     check
46
47destroot.args   install_doc_dir=${prefix}/share/doc/${my_name}-${version} \
48                SLSH_DOC_DIR=${prefix}/share/doc/slsh-${version}
49
50post-destroot {
51    foreach {lib} [eval list [glob -type f ${destroot}${prefix}/lib/*.dylib] \
52        [glob ${destroot}${prefix}/lib/slang/v2/modules/*.so]] {
53        file attributes ${lib} -permissions 0755
54    }
55}
56
57livecheck.type  regex
58livecheck.url   [lindex ${master_sites} 0]
59livecheck.regex {LATEST_IS_(\d+(?:\.\d+)*)}
Note: See TracBrowser for help on using the repository browser.