Files
Ryan Schmidt 9c13fc13a3 cosmoplayer: Fix destroot failure
They typo'd their own project name... in the worksrcdir... in 1999...

We had originally fixed this when the port was added in 38d64214, but
that conflicted with MacPorts 2.6.0's automatic worksrcdir symlinking so
the fix was removed in 8d5e8a87. It broke again when MacPorts 2.8.1
removed the automatic worksrcdir symlinking.
2023-07-24 16:13:40 -05:00

41 lines
1.3 KiB
Tcl

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