Ticket #39063: Portfile

File Portfile, 1.5 KB (added by l.digaspero@…, 12 years ago)

Portfile for gecode 4.0.0

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# $Id: Portfile 95786 2012-07-22 13:57:46Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gecode
7version             4.0.0
8categories          devel math
9platforms           darwin
10maintainers         brandonvalentine.com:brandon
11license             MIT
12
13description         Generic Constraint Development Environment
14
15long_description    Gecode is a toolkit for developing constraint-based systems and applications.\
16                    Gecode provides a constraint solver with state-of-the-art \
17                    performance while being modular and extensible.
18
19homepage            http://www.gecode.org/
20master_sites        ${homepage}download/
21use_7z              yes
22
23checksums           rmd160  1bcbb998c16abf0232f8b86fff90dfc4ef2eb691 \
24                    sha256  ed0630fdf265bbe55ed0242f79fa270f47e6015feaf20dbbd3258026a07a891e
25
26depends_build       port:boost
27
28configure.args      --disable-doc-dot \
29                    --disable-examples \
30                    --disable-qt \
31                    --with-boost-include=${prefix}/include/boost
32
33variant qt description {Add QT support} {
34    depends_lib-append      port:qt4-mac
35    configure.args-delete   --disable-qt
36    configure.args-append   --enable-qt
37}
38
39livecheck.type      regex
40livecheck.url       [lindex ${master_sites} 0]
41livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}