Ignore:
Timestamp:
May 27, 2013, 2:20:34 AM (6 years ago)
Author:
jmr@…
Message:

py26-country: use unified portgroup, license, noarch

Location:
trunk/dports/python/py-country
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-country/Portfile

    r102584 r106451  
    1 # -*- coding: utf-8; mode: tcl; tab-width: 84; indent-tabs-mode: nil; c-basic-offset: 4 -*-
     1# -*- coding: utf-8; mode: tcl; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
    22# $Id$
    33# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
    44
    55PortSystem          1.0
    6 PortGroup python26  1.0
     6PortGroup python  1.0
    77
    8 name                py26-country
     8name                py-country
    99version             0.10
     10license             LGPL-2.1
    1011platforms           darwin
     12supported_archs     noarch
    1113maintainers         openmaintainer krischik
    1214description         ISO country, subdivision, language, currency and script definitions and their translations
     
    1820checksums           md5 9329f25a88573174130159b96ba8730a
    1921
    20 depends_build       port:py26-distribute
     22python.versions     26
    2123
    22 test.run            yes
    23 test.cmd            ${python.bin}
    24 test.target         test.py
     24if {$subport != $name} {
     25        depends_build       port:py${python.version}-distribute
    2526
    26 post-destroot {
    27     foreach f [glob -directory ${worksrcpath}/ *.txt] {
    28         copy $f ${destroot}${prefix}/share/doc/${name}/[file tail $f]
    29     }
     27        test.run            yes
     28        test.cmd            ${python.bin}
     29        test.target         test.py
     30
     31        post-destroot {
     32            foreach f [glob -directory ${worksrcpath}/ *.txt] {
     33                copy $f ${destroot}${prefix}/share/doc/${subport}/[file tail $f]
     34            }
     35        }
    3036}
Note: See TracChangeset for help on using the changeset viewer.