# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $

PortSystem 1.0
name			jgoodies-looks
version			2.1.4
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 \
homepage		http://www.jgoodies.com/freeware/looks/

master_sites		http://www.jgoodies.com/download/libraries/looks/
distname		looks-2_1_4
checksums		md5 2e59ea5ec9f5640d5902485a252b3056 \
			sha1 020990f3e1a1944b8af3932f9a7112ce17704e9c \
			rmd160 ec690290bf7200bb8ee0335a5bf7ee01048864d4
use_zip			yes

depends_lib		bin:java:kaffe

use_configure		no

worksrcdir		looks-${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}/looks-${version}.jar ${javadir}/looks.jar
	foreach f {LICENSE.txt README.html RELEASE-NOTES.txt demo docs} {
		file copy ${worksrcpath}/${f} ${docdir}/
	}
}
