# $Id: Portfile 79711 2011-06-23 20:58:30Z blair@macports.org $

PortSystem 1.0
name                    jgoodies-looks
version                 2.4.1
categories              java
platforms               darwin
maintainers             blair

description             High-fidelity Windows and multi-platform appearance.
long_description        The JGoodies look and feels make your Swing \
                        applications and applets look better.  They have been \
                        optimized for readability, precise micro-design and \
                        usability.
homepage                http://www.jgoodies.com/freeware/looks/

master_sites            http://www.jgoodies.com/download/libraries/looks/
distname                ${name}-2_4_1
checksums               md5 e3fd227ca88ead7802bc8dbf052a2a4a \
                        sha1 85e7aa3fecb42bbd1bf6ce66d15bfd91db5f3178 \
                        rmd160 077dd39a3aec52a9a485237f4e92f15bf93b5dc9
use_zip                 yes

depends_lib             bin:java:kaffe \
                        port:jgoodies-common

use_configure           no

worksrcdir              ${name}-${version}

build.cmd               true

destroot {
        set javadir ${destroot}${prefix}/share/java
        set docdir ${destroot}${prefix}/share/doc/${name}

        xinstall -d -m 755 ${javadir}
        xinstall -d -m 755 ${docdir}

        file copy ${worksrcpath}/${name}-${version}.jar ${javadir}/${name}.jar
        foreach f {LICENSE.txt README.html RELEASE-NOTES.txt docs} {
                file copy ${worksrcpath}/${f} ${docdir}/
        }
}
