# -*- 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 66107 2010-04-06 04:17:30Z jmr@macports.org $

PortSystem          1.0
PortGroup python26 1.0

name                py26-dice3ds
version             0.10
categories-append   graphics
platforms           darwin
if {[info exists supported_archs]} {
    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-append  port:py26-numpy

master_sites        ${homepage}
distname            Dice3DS-${version}
checksums           md5 f666105b67aa0bc6feebf6d52bc4d0bd \
                    sha1 375593ab28e0634d09e9c88112824a1a7b445c85 \
                    rmd160 52884b6df45f0dd9e9341bb563a113decc3a48f2

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]+)?)}
