# -*- coding: utf-8; mode: tcl; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- # $Id: Portfile 106451 2013-05-27 02:20:34Z jmr@macports.org $ # vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl : PortSystem 1.0 PortGroup python 1.0 name py-country version 0.10 license LGPL-2.1 platforms darwin supported_archs noarch maintainers openmaintainer krischik description ISO country, subdivision, language, currency and script definitions and their translations long_description ISO country, subdivision, language, currency and script definitions and their translations homepage http://pypi.python.org/pypi/pycountry master_sites http://pypi.python.org/packages/source/p/pycountry distname pycountry-${version} checksums md5 9329f25a88573174130159b96ba8730a python.versions 26 if {$subport != $name} { depends_build port:py${python.version}-distribute test.run yes test.cmd ${python.bin} test.target test.py post-destroot { foreach f [glob -directory ${worksrcpath}/ *.txt] { copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f] } } }