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

PortSystem 1.0
name		cosmoplayer
version		2.1.1
categories	devel
license     Restrictive/Distributable
maintainers	nomaintainer
platforms	darwin
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

checksums	md5 e714c838a012bab0fcf670c21a716ed3

distname	${name}-jar

post-extract	{
		  file rename ${workpath}/comsoplayer-jar ${workpath}/${distname}
		}

use_configure no
build		{ }
destroot	{
		  set java_share_dir ${destroot}${prefix}/share/java
		  file mkdir ${java_share_dir}
		  file copy  ${worksrcpath}/npcosmop211.jar ${java_share_dir}
		}

universal_variant   no