| 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 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | |
|---|
| 6 | name sumo |
|---|
| 7 | conflicts sumo-devel |
|---|
| 8 | version 0.16.0 |
|---|
| 9 | categories science devel |
|---|
| 10 | platforms darwin |
|---|
| 11 | maintainers me.com:jens.fahnenbruck \ |
|---|
| 12 | herbiet.net:guillaume-jean |
|---|
| 13 | license GPL-3 |
|---|
| 14 | |
|---|
| 15 | description Simulation of Urban MObility (SUMO) |
|---|
| 16 | long_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 | |
|---|
| 22 | homepage http://sumo.sourceforge.net/ |
|---|
| 23 | master_sites sourceforge |
|---|
| 24 | |
|---|
| 25 | distname ${name}-src-${version} |
|---|
| 26 | worksrcdir ${name}-${version} |
|---|
| 27 | |
|---|
| 28 | checksums rmd160 0ee44b1e37def7a75288937cab334198ee84faff \ |
|---|
| 29 | sha256 c5e5a09b0096b7881aa4f76ec60210c2fe3db195295b0f3bc9c6df7a540dbee7 |
|---|
| 30 | |
|---|
| 31 | depends_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 |
|---|
| 39 | configure.args-append \ |
|---|
| 40 | --with-fox=${prefix} |
|---|
| 41 | |
|---|
| 42 | variant debug description {Enable SUMO debugging code} { |
|---|
| 43 | configure.args-append \ |
|---|
| 44 | --enable-debug |
|---|
| 45 | } |
|---|
| 46 | |
|---|
| 47 | variant double_precision description {Use "double" instead of "float" for calculations} { |
|---|
| 48 | configure.args-append \ |
|---|
| 49 | --enable-double-precision |
|---|
| 50 | } |
|---|
| 51 | |
|---|
| 52 | variant subseconds description {Enable subsecond timesteps} { |
|---|
| 53 | configure.args-append \ |
|---|
| 54 | --enable-subsecond |
|---|
| 55 | } |
|---|
| 56 | |
|---|
| 57 | variant messages description {Enable static and dynamic messages emitted by vehicles} { |
|---|
| 58 | configure.args-append \ |
|---|
| 59 | --enable-messages |
|---|
| 60 | } |
|---|
| 61 | |
|---|
| 62 | variant no_internal_lanes description {Disable junction internal lanes} { |
|---|
| 63 | configure.args-append \ |
|---|
| 64 | --disable-internal-lanes |
|---|
| 65 | } |
|---|
| 66 | |
|---|
| 67 | variant no_traci description {Disable Traffic Control Interface (TraCI) Server} { |
|---|
| 68 | configure.args-append \ |
|---|
| 69 | --disable-traci |
|---|
| 70 | } |
|---|