# -*- 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

PortSystem          1.0
PortGroup           python 1.0

name                py-dice3ds
version             0.13
revision            1
categories-append   graphics
platforms           {darwin any}
supported_archs     noarch
license             BSD
maintainers         {jmr @jmroot} openmaintainer
description         Read, write, and manipulate 3DS files
long_description    Dice3DS is a package to to read, write, and manipulate 3D Studio format files \
                    in Python. Also includes code to convert 3DS files into an OpenGL display list.
homepage            http://www.aerojockey.com/software/dice3ds/

master_sites        ${homepage}
distname            Dice3DS-${version}
checksums           md5 b4e5a26a2f8fd9c0ee539ea37d1ffb8e \
                    sha1 a890588b6e041c9888aa33664a5302adbc9a8dbc \
                    rmd160 9b22c55045044027b02f13b946d024bf68113f63

python.versions     27

if {$subport ne $name} {
    depends_lib     port:py${python.version}-numpy

    post-destroot	{
        xinstall -m 644 -W ${worksrcpath} COPYING NEWS README THANKS TODO doc/doc.html \
            ${destroot}${prefix}/share/doc/${subport}
    }
} else {
    livecheck.type  pypi
}
