# $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $

PortSystem       1.0
name             wmcube
version          0.98
revision         1
categories       x11
maintainers      nomaintainer
description      3D objects tumbling about representing CPU load.
long_description \
    Many different objects and will select a random object \
    if you click on the dockapp. \
    The ability to zoom in/out and remove \
    the percent label is present as well.
homepage         http://dockapps.org/file.php/id/162
platforms        darwin
master_sites     http://dockapps.org/download.php/id/222/
depends_lib \
	port:xorg-libXext \
	port:xpm
checksums        md5 efc6f484c53f0a98a76925a6e1a74cd3

worksrcdir      ${name}/${name}

use_configure   no
universal_variant no
build.args      -f Makefile.OPENBSD LIBDIR="-L${prefix}/lib -L./libdocapp" INCLUDES="-I${prefix}/include"

destroot {
    xinstall -m 755 -o root -g wheel ${worksrcpath}/${name} \
        ${destroot}${prefix}/bin
    file copy ${worksrcpath}/../3dObjects \
        ${destroot}${prefix}/share/${name}
}
