# -*- coding: utf-8; mode: tcl; tab-width: 84; indent-tabs-mode: nil; c-basic-offset: 4 -*- 
# $Id: Portfile 62001 2009-12-27 13:48:29Z krischik@macports.org $
# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :

PortSystem	    1.0
PortGroup python26  1.0

name		    py26-country
version		    0.10
categories	    python
platforms	    darwin
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

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/${name}/[file tail $f]
    }
}
