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

name                cosmoplayer
version             2.1.1
categories          devel
license             Restrictive/Distributable
maintainers         nomaintainer
platforms           any
supported_archs     noarch

description         Java classes to support VRML
long_description    {*}${description}

# upstream has disappeared
homepage            https://web.archive.org/web/20090306173402/http://www.sgi.com/products/software/cosmo
#master_sites       http://opendx.informatics.jax.org/libs/
master_sites        macports_distfiles

deprecated.upstream_support \
                    no

checksums           rmd160  ce4cac5a920b828484e2a5c53148cd21afc3120f \
                    sha256  1a79351c2d5300c4e1ceb469852c922dcc24b6ac5a43859226749a35798b6d1e \
                    size    44698

distname            ${name}-jar

# Typo...
worksrcdir          comsoplayer-jar

use_configure       no
build { }
destroot {
    set java_share_dir ${destroot}${prefix}/share/java
    xinstall -d -m 0755 ${java_share_dir}
    xinstall    -m 0644 ${worksrcpath}/npcosmop211.jar ${java_share_dir}
}
