Ticket #54201: Portfile

File Portfile, 1.6 KB (added by jxy (Xiao-Yong), 7 years ago)

Portfile for the new version

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4
5name                mercury
6version             14.01.1
7revision            0
8categories          lang
9maintainers         nomaintainer
10platforms           darwin
11license             GPL-2 LGPL-2
12
13description         The Mercury Programming Language
14long_description    \
15    Mercury is a new logic/functional programming \
16    language, which combines the clarity and \
17    expressiveness of declarative programming with \
18    advanced static analysis and error detection \
19    features. Its highly optimized execution \
20    algorithm delivers efficiency far in excess of \
21    existing logic programming systems, and close \
22    to conventional programming systems. Mercury \
23    addresses the problems of large-scale program \
24    development, allowing modularity, separate \
25    compilation, and numerous optimization/time \
26    trade-offs.
27
28homepage            http://www.mercurylang.org/
29master_sites        http://dl.mercurylang.org/release/
30
31distname            ${name}-srcdist-${version}
32
33checksums           md5     28eb85861b9c5fd13ea8382b63f5741b \
34                    sha1    8d8295aed6cadb6cd2e932490042de6075d18acf \
35                    rmd160  8ee4a5ee694985b6d6453bee86a3a7e12cc9d0ac \
36                    sha256  98f7cbde7a7425365400feef3e69f1d6a848b25dc56ba959050523d546c4e88b
37
38worksrcdir          ${name}-srcdist-${version}
39
40depends_lib \
41    port:readline
42
43livecheck.url       http://dl.mercurylang.org/index.html
44livecheck.type      regex
45livecheck.regex     ${name}-srcdist-(\[0-9.\]+)${extract.suffix}