# -*- 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 84512 2011-09-27 14:19:06Z snc@macports.org $

PortSystem 1.0
PortGroup python27 1.0

name                    py27-gtfs
set real_name           googletransitdatafeed
version                 1.2.6
platforms               darwin
maintainers             singingwolfboy openmaintainer
description             General Transit Feed Specification library
long_description        \
    This is an effort to offer tools for reading, writing, and converting to \
    and from the General Transit Feed Specification format, to help make \
    public transit information projects more successful for agencies and \
    other interested parties.

homepage                http://code.google.com/p/${real_name}/
master_sites            googlecode:${real_name}
distname                transitfeed-${version}
checksums               md5     cfde6c7b6e2e56798b43c070b56fcc54 \
                        sha1    19e3a9fe1a00d31d50351e63ff966c5b5be16f93 \
                        rmd160  c9deebc45d9be9746fc463c527c15e73c2c1dcc3

configure {
    eval reinplace "s|#!/usr/bin/python.*|#!${prefix}/bin/python${python.branch}|" [glob ${worksrcpath}/transitfeed/*]
}
