source: trunk/dports/python/py-dice3ds/Portfile

Last change on this file was 114324, checked in by ryandesign@…, 4 years ago

python ports: use eq and ne when comparing ${subport} instead of == and !=

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- 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
2# $Id: Portfile 114324 2013-12-05 08:44:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-dice3ds
8version             0.13
9revision            1
10categories-append   graphics
11platforms           darwin
12supported_archs     noarch
13license             BSD
14maintainers         jmr openmaintainer
15description         Read, write, and manipulate 3DS files
16long_description    Dice3DS is a package to to read, write, and manipulate 3D Studio format files \
17                    in Python. Also includes code to convert 3DS files into an OpenGL display list.
18homepage            http://www.aerojockey.com/software/dice3ds/
19
20master_sites        ${homepage}
21distname            Dice3DS-${version}
22checksums           md5 b4e5a26a2f8fd9c0ee539ea37d1ffb8e \
23                    sha1 a890588b6e041c9888aa33664a5302adbc9a8dbc \
24                    rmd160 9b22c55045044027b02f13b946d024bf68113f63
25
26python.versions     26 27
27
28if {${name} ne ${subport}} {
29    depends_lib     port:py${python.version}-numpy
30
31    post-destroot       {
32        xinstall -m 644 -W ${worksrcpath} COPYING NEWS README THANKS TODO doc/doc.html \
33            ${destroot}${prefix}/share/doc/${subport}
34    }
35    livecheck.type  none
36} else {
37    livecheck.type  regex
38    livecheck.url   https://pypi.python.org/pypi/Dice3DS/
39    livecheck.regex {Dice3DS ([0-9]\.[0-9]+(\.[0-9]+)?)}
40}
Note: See TracBrowser for help on using the repository browser.