Ticket #38559: Portfile

File Portfile, 2.1 KB (added by jens.fahnenbruck@…, 12 years ago)

new Portfile for sumo

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 98515 2012-10-07 21:05:57Z mww@macports.org $
3
4PortSystem          1.0
5
6name                sumo
7conflicts           sumo-devel
8version             0.16.0
9categories          science devel
10platforms           darwin
11maintainers         me.com:jens.fahnenbruck \
12                    herbiet.net:guillaume-jean
13license             GPL-3
14
15description         Simulation of Urban MObility (SUMO)
16long_description \
17    Simulation of Urban MObility (SUMO) is an open source, highly portable, \
18    microscopic road traffic simulation package designed to handle large \
19    road networks. It is mainly developed by employees of the Institute of \
20    Transportation Systems at the German Aerospace Center.
21
22homepage            http://sumo.sourceforge.net/
23master_sites        sourceforge
24
25distname            ${name}-src-${version}
26worksrcdir          ${name}-${version}
27
28checksums           rmd160  0ee44b1e37def7a75288937cab334198ee84faff \
29                    sha256  c5e5a09b0096b7881aa4f76ec60210c2fe3db195295b0f3bc9c6df7a540dbee7
30
31depends_lib-append \
32    port:fox \
33    port:gdal \
34    port:libtool \
35    port:proj \
36    port:xercesc
37
38# required for the gui to be enabled
39configure.args-append \
40    --with-fox=${prefix}
41
42variant debug description {Enable SUMO debugging code} {
43    configure.args-append \
44        --enable-debug
45}
46
47variant double_precision description {Use "double" instead of "float" for calculations} {
48    configure.args-append \
49        --enable-double-precision
50}
51
52variant subseconds description {Enable subsecond timesteps} {
53    configure.args-append \
54        --enable-subsecond
55}
56
57variant messages description {Enable static and dynamic messages emitted by vehicles} {
58    configure.args-append \
59        --enable-messages
60}
61
62variant no_internal_lanes description {Disable junction internal lanes} {
63    configure.args-append \
64        --disable-internal-lanes
65}
66
67variant no_traci description {Disable Traffic Control Interface (TraCI) Server} {
68    configure.args-append \
69        --disable-traci
70}