# -*- 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
# $Id: Portfile 107133 2013-06-18 23:03:28Z devans@macports.org $

PortSystem      1.0

name            osm-gps-map
version         0.7.3
license         GPL-3
categories      graphics
maintainers     devans openmaintainer
platforms       darwin
homepage        http://nzjrs.github.com/${name}/
master_sites    http://www.johnstowers.co.nz/files/${name}

description \
    A Gtk+ widget for displaying OpenStreetMap tiles.

long_description \
    A Gtk+ widget (and Python bindings) that when given GPS co-ordinates, \
    draws a GPS track, and points of interest on a moving map display. \
    Downloads map data from a number of websites, including openstreetmap.org.

checksums       rmd160  98b275f255f763eaf5f3591a4e4b47a4495714ab \
                sha256  5967db2e911fc81297c7c035ddfe1f225ee708398f1083d7f0d1f7630afcd1a8

depends_build   port:pkgconfig

depends_lib     port:libsoup \
                port:gtk2

patchfiles      patch-Makefile.in.diff

configure.args  --enable-introspection=no \
                --disable-silent-rules

livecheck.type  regex
livecheck.url   https://github.com/nzjrs/osm-gps-map/tags
livecheck.regex "(\\d+(?:\\.\\d+)*)${extract.suffix}"
