# -*- 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

PortSystem      1.0
PortGroup       github 1.0
PortGroup       gobject_introspection 1.0

github.setup    nzjrs osm-gps-map 1.2.0
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
license         GPL-2+
categories      graphics
maintainers     {devans @dbevans} openmaintainer

revision        1

description     A GTK+ 3 widget for displaying OpenStreetMap tiles.

long_description \
                A GTK+ 3 widget 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.

homepage        https://nzjrs.github.io/${name}/

checksums       rmd160  cc7eb9da9b2123aaad5b53fa2441521e35780b2c \
                sha256  14f6f247b824b78c018de784c3303543653dd3558e0e18019d90895695b6b01a \
                size    84886

depends_build   port:pkgconfig \
                port:autoconf \
                port:autoconf-archive \
                port:automake \
                port:libtool \
                port:gtk-doc

depends_lib     path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
                port:libsoup-2.4

gobject_introspection yes

configure.cmd   ./autogen.sh

configure.args  --disable-silent-rules \
                --disable-gtk-doc
