source: trunk/dports/python/py-gtfs/Portfile

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
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 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup python 1.0
6
7name                    py-gtfs
8set real_name           googletransitdatafeed
9version                 1.2.6
10license                 Apache-2
11platforms               darwin
12supported_archs         noarch
13maintainers             nomaintainer
14description             General Transit Feed Specification library
15long_description        \
16    This is an effort to offer tools for reading, writing, and converting to \
17    and from the General Transit Feed Specification format, to help make \
18    public transit information projects more successful for agencies and \
19    other interested parties.
20
21homepage                http://code.google.com/p/${real_name}/
22master_sites            googlecode:${real_name}
23distname                transitfeed-${version}
24checksums               md5     cfde6c7b6e2e56798b43c070b56fcc54 \
25                        sha1    19e3a9fe1a00d31d50351e63ff966c5b5be16f93 \
26                        rmd160  c9deebc45d9be9746fc463c527c15e73c2c1dcc3
27
28python.versions         27
29
30if {${name} ne ${subport}} {
31    configure {
32        eval reinplace "s|#!/usr/bin/python.*|#!${prefix}/bin/python${python.branch}|" [glob ${worksrcpath}/transitfeed/*]
33    }
34}
Note: See TracBrowser for help on using the repository browser.