# $Id: Portfile 67686 2010-05-16 03:06:54Z blair@macports.org $

PortSystem 1.0
name			jgoodies-looks
version			2.3.0
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		looks-2_3_0
checksums		md5 848d9e2fe369ae3b382963f21b13163b \
			sha1 f78ce34ffcd45e0a86a4f1589fea773b1347a0e0 \
			rmd160 29b9ef4465cdb7917e391d7f877e99a9769cbe45
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}/
	}
}
