# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4

PortSystem 1.0

name            py27-osmgpsmap
version         0.7.3
revision        4
categories      python graphics
license         GPL-3
platforms       darwin
maintainers     {devans @dbevans} openmaintainer
description     Python interfaces for osm-gps-map
long_description    ${description}

homepage        https://nzjrs.github.io/osm-gps-map/
master_sites    http://www.johnstowers.co.nz/files/osm-gps-map/
distname        python-osmgpsmap-${version}

checksums       rmd160  a6e6908977cdb0e340f98c5bda6c41bb16f55f09 \
                sha256  fcd0339a5922bdbbb9c934aa3c2fb9a2b8d04487d037e36cbf308dc83a02a9cf

depends_build   port:pkgconfig

depends_lib     port:osm-gps-map-gtk2 \
                port:py27-pygtk

patchfiles      patch-osmgpsmapmodule.c.diff

use_autoreconf  yes

configure.python            ${prefix}/bin/python2.7
set python_framework        ${frameworks_dir}/Python.framework/Versions/2.7
configure.pkg_config_path   ${python_framework}/lib/pkgconfig

prefix          ${python_framework}

livecheck.type  none
