source: trunk/dports/devel/gecode/Portfile

Last change on this file was 150043, checked in by khindenburg@…, 13 months ago

gecode: remove legacy variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
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 150043 2016-07-09 15:41:11Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gecode
7version             4.4.0
8revision            1
9categories          devel math
10platforms           darwin
11maintainers         gmail.com:l.digaspero openmaintainer
12license             MIT
13
14description         Generic Constraint Development Environment
15
16long_description    Gecode is a toolkit for developing constraint-based systems and applications.\
17                    Gecode provides a constraint solver with state-of-the-art \
18                    performance while being modular and extensible.
19
20homepage            http://www.gecode.org/
21master_sites        ${homepage}download/
22use_7z              yes
23
24checksums           rmd160  db3a1fa2a49c2717b14190e4b40b401af7d9700e \
25                    sha256  c3da433cf1de57e1a5b7a62a1206d13788583a20c20ca4a831d1a05254f00d50
26
27depends_build       port:boost
28
29configure.args      --disable-doc-dot \
30                    --disable-examples \
31                    --disable-qt \
32                    --with-boost-include=${prefix}/include/boost
33
34variant qt4 conflicts qt5 description {Add QT 4 support} {
35    depends_lib-append      port:qt4-mac
36    configure.args-replace  --disable-qt --enable-qt
37    configure.env           PATH=$env(PATH):${prefix}/libexec/qt4-mac/bin
38    build.env               PATH=$env(PATH):${prefix}/libexec/qt4-mac/bin
39}
40
41variant qt5 conflicts qt4 description {Add QT 5 support} {
42    depends_lib-append      port:qt5
43    configure.args-replace  --disable-qt --enable-qt
44    configure.env           PATH=$env(PATH):${prefix}/libexec/qt5/bin
45    build.env               PATH=$env(PATH):${prefix}/libexec/qt5/bin
46}
47
48livecheck.type      regex
49livecheck.url       [lindex ${master_sites} 0]
50livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.