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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name gecode |
---|
7 | version 4.0.0 |
---|
8 | categories devel math |
---|
9 | platforms darwin |
---|
10 | maintainers brandonvalentine.com:brandon |
---|
11 | license MIT |
---|
12 | |
---|
13 | description Generic Constraint Development Environment |
---|
14 | |
---|
15 | long_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 | |
---|
19 | homepage http://www.gecode.org/ |
---|
20 | master_sites ${homepage}download/ |
---|
21 | use_7z yes |
---|
22 | |
---|
23 | checksums rmd160 1bcbb998c16abf0232f8b86fff90dfc4ef2eb691 \ |
---|
24 | sha256 ed0630fdf265bbe55ed0242f79fa270f47e6015feaf20dbbd3258026a07a891e |
---|
25 | |
---|
26 | depends_build port:boost |
---|
27 | |
---|
28 | configure.args --disable-doc-dot \ |
---|
29 | --disable-examples \ |
---|
30 | --disable-qt \ |
---|
31 | --with-boost-include=${prefix}/include/boost |
---|
32 | |
---|
33 | variant 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 | |
---|
39 | livecheck.type regex |
---|
40 | livecheck.url [lindex ${master_sites} 0] |
---|
41 | livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix} |
---|