# -*- 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
# $Id: Portfile 72239 2010-10-08 04:13:16Z jmr@macports.org $

PortSystem          1.0
PortGroup           python26 1.0

name                py26-dice3ds
version             0.13
categories-append   graphics
platforms           darwin
supported_archs     noarch
license             BSD
maintainers         jmr 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/

depends_lib         port:py26-numpy

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

post-destroot	{
    xinstall -m 644 -W ${worksrcpath} COPYING NEWS README THANKS TODO doc/doc.html \
        ${destroot}${prefix}/share/doc/${name}
}

livecheck.type  regex
livecheck.url   http://pypi.python.org/pypi/Dice3DS/
livecheck.regex {Dice3DS ([0-9]\.[0-9]+(\.[0-9]+)?)}
